A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-8898

CVE-2024-8898: Lollms Web UI Path Traversal Vulnerability

CVE-2024-8898 is a path traversal flaw in Lollms Web UI that enables attackers to create or delete directories with arbitrary paths on the system. This article covers the technical details, affected versions, and mitigation.

Published: May 26, 2026

CVE-2024-8898 Overview

CVE-2024-8898 is a path traversal vulnerability in the install and uninstall API endpoints of parisneo/lollms-webui version V12 (Strawberry). Attackers can supply crafted app_name values to create or delete directories at arbitrary locations on the host filesystem. The root cause is missing sanitization of user-supplied input passed to filesystem operations [CWE-22]. Because the endpoints are reachable over the network and require no authentication or user interaction, exploitation is straightforward and impacts confidentiality, integrity, and availability of the underlying system.

Critical Impact

Unauthenticated remote attackers can create or delete arbitrary directories on the lollms-webui host, enabling destructive filesystem manipulation and potential service compromise.

Affected Products

  • parisneo lollms-webui version 12 (Strawberry)
  • Component: endpoints/lollms_apps.py (apps zoo install/uninstall routes)
  • Deployments exposing the lollms-webui API to untrusted networks

Discovery Timeline

  • 2025-03-20 - CVE-2024-8898 published to the National Vulnerability Database (NVD)
  • 2025-04-01 - Last updated in NVD database

Technical Details for CVE-2024-8898

Vulnerability Analysis

The lollms-webui application exposes two HTTP routes, /install/{app_name} and the corresponding uninstall route, which accept an application name as a path parameter. The handlers concatenate this value into filesystem paths under the user's apps_zoo_repo directory without validating that the resulting path remains inside the intended base directory.

By supplying directory traversal sequences such as ../ in app_name, an attacker breaks out of the intended apps_zoo_repo location. The install handler then creates directories at the attacker-chosen location, while the uninstall handler removes them. This allows arbitrary directory creation or deletion anywhere the lollms-webui process has write permissions.

Root Cause

The handlers trusted the app_name path parameter as a safe identifier and used it directly in path construction. There was no call to a sanitization routine that would reject or normalize traversal sequences. The fix introduces an explicit sanitize_path(app_name) call before the value is used in any filesystem operation.

Attack Vector

The attack is network-based against any reachable lollms-webui V12 instance. An attacker sends a POST /install/{app_name} request where app_name contains URL-encoded traversal segments resolving to a sensitive location. The same technique applied to the uninstall endpoint deletes target directories, which can corrupt application data, disrupt service, or remove security-relevant files.

python
@router.post("/install/{app_name}")
async def install_app(app_name: str, auth: AuthRequest):
    check_access(lollmsElfServer, auth.client_id)
+   app_name=sanitize_path(app_name)
+
    REPO_DIR = lollmsElfServer.lollms_paths.personal_path/"apps_zoo_repo"
    
    # Create the app directory

Source: parisneo/lollms-webui commit 6d07c8a — the patch inserts sanitize_path(app_name) to normalize input and block ../ traversal before any filesystem use.

Detection Methods for CVE-2024-8898

Indicators of Compromise

  • HTTP requests to /install/{app_name} or the uninstall endpoint containing .., %2e%2e, ..%2f, or absolute path prefixes in the app_name segment.
  • Unexpected directory creation or deletion events outside the apps_zoo_repo path owned by the lollms-webui service account.
  • Application logs from endpoints/lollms_apps.py showing install or uninstall operations with unusual app_name values.

Detection Strategies

  • Inspect web access logs and WAF telemetry for traversal patterns in URL path segments targeting lollms-webui routes.
  • Correlate filesystem audit events (Linux auditd watches, Windows object access auditing) against the lollms-webui process to flag directory operations outside its working tree.
  • Alert on any 4xx/5xx response spikes from the install or uninstall endpoints, which often indicate probing.

Monitoring Recommendations

  • Forward lollms-webui application logs and host filesystem audit events to a centralized analytics platform for correlation.
  • Baseline normal install and uninstall activity by user and source IP so traversal probes stand out.
  • Track outbound network and process activity from the lollms-webui service to detect follow-on actions after directory manipulation.

How to Mitigate CVE-2024-8898

Immediate Actions Required

  • Upgrade lollms-webui to a build that includes commit 6d07c8a0dd0a15cc060becc73fda9fe8e788eb23 or later, which adds sanitize_path to the install and uninstall handlers.
  • Restrict network exposure of lollms-webui to trusted users only by placing it behind authenticated reverse proxies or VPN access.
  • Audit the host for unexpected directories created or removed under and outside apps_zoo_repo since deployment.

Patch Information

The vendor fix is published in the parisneo/lollms-webui repository in commit 6d07c8a. The patch introduces app_name = sanitize_path(app_name) at the top of the affected handlers in endpoints/lollms_apps.py, blocking traversal sequences before they reach filesystem APIs. Additional context is available in the Huntr bounty report.

Workarounds

  • Deploy a WAF or reverse-proxy rule that rejects requests to /install/ and uninstall routes when the path parameter contains .., /, \, or URL-encoded equivalents.
  • Run the lollms-webui process under a dedicated low-privilege account with write access limited to its own data directory.
  • Disable the install and uninstall endpoints at the proxy layer until the patched version is deployed.
bash
# Example nginx rule blocking traversal in lollms-webui app routes
location ~ ^/(install|uninstall)/ {
    if ($request_uri ~* "(\.\.|%2e%2e|%2f%2e\.|\\)") {
        return 400;
    }
    proxy_pass http://lollms_upstream;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechLollms

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.20%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • Huntr Bounty Report
  • Vendor Resources
  • GitHub Commit Changes
  • Related CVEs
  • CVE-2024-4315: parisneo/lollms Path Traversal Vulnerability

  • CVE-2024-1873: Lollms Web UI Path Traversal Vulnerability

  • CVE-2024-2361: Lollms Web UI Path Traversal Vulnerability

  • CVE-2024-3322: Lollms Web UI Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English