parisneo/lollms Local File Inclusion (LFI) attack
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | lollms | < 9.5.0 | 9.5.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-4315
- https://github.com/parisneo/lollms/commit/95ad36eeffc6a6be3e3f35ed35a384d768f0ecf6
- https://github.com/ParisNeo/lollms
- https://huntr.com/bounties/8a1b0197-2c36-4276-b92b-630a2a9bb09c
- https://pypi.org/project/lollms
- https://github.com/advisories/GHSA-vqwr-q6cc-c242
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H- Weakness (CWE)
CWE-22- Platform
- Python (PyPI)
- Package
lollms- Disclosed
- 12.06.2024
- Updated
- 11.10.2026 12:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-vqwr-q6cc-c242 - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-403 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: lollms
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 24
- First → latest
- 05.2024 04.2026
- Without a fix
- 9
- Exploited in attacks
- 0
Severity breakdown
- Critical 6
- High 12
- Medium 5
- Low 1
Disclosures per year
- 2024: 14
- 2025: 2
- 2026: 8
-
parisneo/lollms Local File Inclusion (LFI) attack this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.