Skip to main content
CVE-2024-4315VulnerabilityPublished Updated

CVE-2024-4315: parisneo/lollms · Path Traversal

Affects parisneo/lollmsSource CVE Database V5

0

Not known to be exploited · CVSS 9.1 Critical.

Data as of 26 Oct 2026, 06:26 UTC

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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Jun 2024

  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 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
GitHubparisneo/lollmspkg:github/parisneo/lollmsOther threatsAffected
  • =9.5
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. Immediate mitigation should focus on applying any available patches or updates from parisneo once released. 2. Implement strict input validation and sanitization for all user-supplied paths, specifically ensuring that Windows-style backslashes are properly handled or normalized before processing. 3. Employ Web Application Firewalls (WAFs) with custom rules to detect and block suspicious path traversal patterns, including sequences like '..\' or other traversal attempts using backslashes. 4. Restrict file system permissions for the application process to the minimum necessary, preventing unauthorized file read or delete operations outside designated directories. 5. Conduct thorough logging and monitoring of access to the vulnerable endpoints ('personalities', '/del_preset') to detect anomalous or unauthorized requests. 6. Consider network segmentation and limiting exposure of the parisneo/lollms service to trusted networks or VPNs to reduce attack surface. 7. Educate development teams on secure coding practices related to path handling and input sanitization to prevent recurrence. 8. Perform regular security assessments and penetration testing focusing on path traversal and LFI vulnerabilities in web applications.

Description

parisneo/lollms version 9.5 is vulnerable to Local File Inclusion (LFI) attacks due to insufficient path sanitization. The `sanitize_path_from_endpoint` function fails to properly sanitize Windows-style paths (backward slash `\`), allowing attackers to perform directory traversal attacks on Windows systems. This vulnerability can be exploited through various routes, including `personalities` and `/del_preset`, to read or delete any file on the Windows filesystem, compromising the system's availability.

References

Community reviews

Loading reviews…