Skip to main content
CVE-2024-2356VulnerabilityPublished

CVE-2024-2356: parisneo/lollms-webui · Path Traversal: '\..\filename'

Affects parisneo/lollms-webuiSource CVE Database V5

0

Not known to be exploited · CVSS 9.6 Critical.

Data as of 26 Oct 2026, 08:30 UTC

CVSS 3.0 base score
9.6Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.8% chance of exploitation in 30 days – higher than 59% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
parisneoparisneo/lollms-webuiAffected
  • ≥ unspecified, < v9.5
Fixed in–
GitHubparisneo/lollms-webuipkg:github/parisneo/lollms-webuiOther threatsAffected
  • *
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. Immediately restrict access to the '/reinstall_extension' endpoint by implementing network-level controls such as firewalls or VPNs, ensuring it is not exposed to the public internet. 2. Apply strict input validation and sanitization on the 'name' parameter to prevent path traversal sequences (e.g., '..', '\', '/') before concatenation. 3. Employ application-level whitelisting to allow only known, safe extension names or identifiers. 4. Run the application with the least privileges possible, avoiding running as root or administrator to limit the impact of potential exploitation. 5. Monitor logs for suspicious requests targeting the '/reinstall_extension' endpoint, especially those containing path traversal patterns. 6. If possible, isolate the application in a container or sandbox environment to contain any compromise. 7. Stay updated with vendor patches or security advisories and apply fixes promptly once available. 8. Consider disabling or restricting the functionality of extension reinstallation if not required. 9. Conduct regular security assessments and penetration tests focusing on input validation and code execution vectors.

Description

A Local File Inclusion (LFI) vulnerability exists in the '/reinstall_extension' endpoint of the parisneo/lollms-webui application, specifically within the `name` parameter of the `@router.post("/reinstall_extension")` route. This vulnerability allows attackers to inject a malicious `name` parameter, leading to the server loading and executing arbitrary Python files from the upload directory for discussions. This issue arises due to the concatenation of `data.name` directly with `lollmsElfServer.lollms_paths.extensions_zoo_path` and its use as an argument for `ExtensionBuilder().build_extension()`. The server's handling of the `__init__.py` file in arbitrary locations, facilitated by `importlib.machinery.SourceFileLoader`, enables the execution of arbitrary code, such as command execution or creating a reverse-shell connection. This vulnerability affects the latest version of parisneo/lollms-webui and can lead to Remote Code Execution (RCE) when the application is exposed to an external endpoint or the UI, especially when bound to `0.0.0.0` or in `headless mode`. No user interaction is required for exploitation.

References

Community reviews

Loading reviews…