LFI Vulnerability due to Lack of Path Sanitization in parisneo/lollms
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.0 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| parisneo | parisneo/lollms | before 9.8 | 9.8 | Patch available | CNA |
| — | lollms (PyPI) | before 9.5.0 | 9.5.0 | Patch available | GHSA-vqwr-q6cc-c242 |
- parisneo/lollms Vendorparisneo Affected before 9.8 Fixed in 9.8 Patch available CNA
- lollms (PyPI) Vendor— Affected before 9.5.0 Fixed in 9.5.0 Patch available GHSA-vqwr-q6cc-c242
Remediation
- Fix · CNA parisneo/lollms (parisneo) Fixed in 9.8
- Fix · GHSA-vqwr-q6cc-c242 lollms (PyPI) Fixed in 9.5.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-4315
- 2026-10-03 Alias added: GHSA-vqwr-q6cc-c242
References
More parisneo vulnerabilities
- TI-2026-00842 Improper Access Control via Weak JWT Token in parisneo/lollms CVSS 3.0CRITICAL 9.8
- TI-2024-05059 Remote Code Execution via Path Traversal in parisneo/lollms CVSS 3.0CRITICAL 9.8
- TI-2024-04029 Remote Code Execution via `/apply_settings` and `/execute_code` in parisneo/lollms-webui CVSS 3.0CRITICAL 9.8
- TI-2024-04023 Remote Code Execution due to LFI in '/install_extension' in parisneo/lollms-webui CVSS 3.1CRITICAL 9.8
- TI-2024-03798 Arbitrary Code Execution in parisneo/lollms CVSS 3.0CRITICAL 9.8
- TI-2024-02196 Arbitrary Upload & Read via Path Traversal in parisneo/lollms-webui CVSS 3.0CRITICAL 9.6
Sources
- CVE-2024-4315 · CVE Program
- CVE-2024-4315 · NVD
- FIRST EPSS
- GHSA-vqwr-q6cc-c242 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences