CVE-2024-4315 — Vulnerability in lollms — CVE Details
parisneo/lollms Local File Inclusion (LFI) attack
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.53%). Schedule for your next planned update.
Does your project use an affected lollms version?
Paste your requirements.txt to check it for CVE-2024-4315 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
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.
Advisory Timeline
- First published June 29, 2026 (150 days ago).
- Last revised July 1, 2026 — 2 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "lollms>=9.5.0"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: PyPI (1).
| Package | Fixed In |
|---|---|
| lollms PyPI · Affected: 1.1.10, 1.1.11, 1.1.12, 1.1.13 (+259 more) | 9.5.0 |
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-4315ADVISORY
- https://github.com/parisneo/lollms/commit/95ad36eeffc6a6be3e3f35ed35a384d768f0ecf6WEB
- https://github.com/ParisNeo/lollmsPACKAGE
- https://huntr.com/bounties/8a1b0197-2c36-4276-b92b-630a2a9bb09cWEB
- https://pypi.org/project/lollmsPACKAGE
- https://github.com/advisories/GHSA-vqwr-q6cc-c242ADVISORY
Frequently Asked Questions
- What is CVE-2024-4315?
- parisneo/lollms Local File Inclusion (LFI) attack. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
- How do I check if my project is affected by CVE-2024-4315?
- CVE-2024-4315 affects lollms. It has a 1.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-4315 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top quartile of EPSS-scored vulnerabilities — 75.1% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-1114CRITICAL
- CVE-2026-1115CRITICAL
parisneo/lollms vulnerable to stored XSS in the social feature
- CVE-2024-5443CRITICAL
Remote Code Execution via path traversal bypass in lollms
- CVE-2024-3429CRITICAL
LoLLMS Path Traversal vulnerability
- CVE-2024-4078CRITICAL
LoLLMS Command Injection vulnerability
- CVE-2026-0558CRITICAL
- CVE-2026-1115CRITICAL
parisneo/lollms vulnerable to stored XSS in the social feature
- CVE-2026-1114CRITICAL
LoLLMs is vulnerable to Improper Access Control through weak secret key