CVE-2024-4315: parisneo/lollms · Path Traversal
Affects parisneo/lollmsSource CVE Database V5
Not known to be exploited · CVSS 9.1 Critical.
Data as of 26 Oct 2026, 17:16 UTC
- 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:HExploitation evidence
Disclosed: evidence found.
CVE published 12 Jun 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
GitHubparisneo/lollmspkg:github/parisneo/lollmsOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Immediate mitigation should focus on applying any available patches or updates from parisneo once released.
- Implement strict input validation and sanitization for all user-supplied paths, specifically ensuring that Windows-style backslashes are properly handled or normalized before processing.
- 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.
- Restrict file system permissions for the application process to the minimum necessary, preventing unauthorized file read or delete operations outside designated directories.
- Conduct thorough logging and monitoring of access to the vulnerable endpoints ('personalities', '/del_preset') to detect anomalous or unauthorized requests.
- Consider network segmentation and limiting exposure of the parisneo/lollms service to trusted networks or VPNs to reduce attack surface.
- Educate development teams on secure coding practices related to path handling and input sanitization to prevent recurrence.
- 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.