CVE-2024-4078 — Vulnerability in lollms — CVE Details
LoLLMS Command Injection vulnerability
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.73%). Schedule for your next planned update.
Does your project use an affected lollms version?
Paste your requirements.txt to check it for CVE-2024-4078 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
A vulnerability in the parisneo/lollms, specifically in the /unInstall_binding endpoint, allows for arbitrary code execution due to insufficient sanitization of user input. The issue arises from the lack of path sanitization when handling the name parameter in the unInstall_binding function, allowing an attacker to traverse directories and execute arbitrary code by loading a malicious __init__.py file. This vulnerability affects the latest version of the software. The exploitation of this vulnerability could lead to remote code execution on the system where parisneo/lollms is deployed.
Advisory Timeline
- First published July 7, 2026 (142 days ago).
- Last revised July 7, 2026 — 0 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.8 score means for each attack dimension.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-4078ADVISORY
- https://github.com/parisneo/lollms/commit/7ebe08da7e0026b155af4f7be1d6417bc64cf02fWEB
- https://github.com/parisneo/lollmsPACKAGE
- https://huntr.com/bounties/a55a8c04-df44-49b2-bcfa-2a2b728a299dWEB
- https://pypi.org/project/lollmsPACKAGE
- https://github.com/advisories/GHSA-pwc9-q4hj-pg8gADVISORY
Frequently Asked Questions
- What is CVE-2024-4078?
- LoLLMS Command Injection vulnerability. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2024-4078?
- CVE-2024-4078 affects lollms. It has a 1.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-4078 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 — 78% 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-4315CRITICAL
parisneo/lollms Local File Inclusion (LFI) attack
- CVE-2024-3429CRITICAL
LoLLMS Path Traversal 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