CVE-2024-4315
CRITICAL 9.1CVSS 3.0parisneo/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.
- Published
- 12 Jun 2024
- Last modified
- 16 Nov 2026
- Assigned by
- security@huntr.dev
- NVD status
- Deferred
- Weakness
- CWE-22
- Also known as
- GHSA-vqwr-q6cc-c242PYSEC-2026-403
- Sources
- NVDJSONOSV GHSA-vqwr-q6cc-c242JSONOSV PYSEC-2026-403JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | CRITICAL 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| OSV | PyPA | CVSS 3.0 | CRITICAL 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | lollms | < 9.5.0 | 9.5.0 |
References
- https://github.com/parisneo/lollms/commit/95ad36eeffc6a6be3e3f35ed35a384d768f0ecf6 · WEB
- https://huntr.com/bounties/8a1b0197-2c36-4276-b92b-630a2a9bb09c · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-4315 · ADVISORY
- https://github.com/ParisNeo/lollms · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/lollms/PYSEC-2026-403.yaml · WEB
- https://pypi.org/project/lollms · WEB, PACKAGE
- https://github.com/advisories/GHSA-vqwr-q6cc-c242 · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 12 Jun 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 12 Jun 2024)