CVE-2024-4315parisneo/lollms
Critical 9.1 No auth needed
Follow: this CVE · parisneo · parisneo/lollms We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.0
- 9.1
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 75
- Auth required
- No
- Published
- Jun 12, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for parisneo/lollms.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | lollms |
< 9.5.0 |
9.5.0 |
pip install "lollms>=9.5.0" |
| PyPI | lollms |
< 9.5.0 |
9.5.0 |
pip install "lollms>=9.5.0" |
Per OSV / GitHub Advisories (GHSA-vqwr-q6cc-c242, PYSEC-2026-403). Check the version in your lockfile before upgrading.
Affected products
- parisneo · parisneo/lollms
- parisneo · lollms
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.