CVE-2024-5443 — Vulnerability in lollms — CVE Details
Remote Code Execution via path traversal bypass in lollms
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.94%). Schedule for your next planned update.
Does your project use an affected lollms version?
Paste your requirements.txt to check it for CVE-2024-5443 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
CVE-2024-4320 describes a vulnerability in the parisneo/lollms software, specifically within the ExtensionBuilder().build_extension() function. The vulnerability arises from the /mount_extension endpoint, where a path traversal issue allows attackers to navigate beyond the intended directory structure. This is facilitated by the data.category and data.folder parameters accepting empty strings (""), which, due to inadequate input sanitization, can lead to the construction of a package_path that points to the root directory. Consequently, if an attacker can create a config.yaml file in a controllable path, this path can be appended to the extensions list and trigger the execution of __init__.py in the current directory, leading to remote code execution. The vulnerability affects versions from 5.9.0, and has been addressed in version 9.5.1.
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.1"
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: 5.9.0, 5.9.1, 5.9.2, 5.9.3 (+23 more) | 9.5.1 |
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-5443ADVISORY
- https://github.com/parisneo/lollms/commit/2d0c4e76be93195836ecd0948027e791b8a2626fWEB
- https://github.com/ParisNeo/lollmsPACKAGE
- https://huntr.com/bounties/db52848a-4dbe-4110-a981-03739834bf45WEB
- https://pypi.org/project/lollmsPACKAGE
- https://github.com/advisories/GHSA-mvrm-fh8q-6wr2ADVISORY
Frequently Asked Questions
- What is CVE-2024-5443?
- Remote Code Execution via path traversal bypass in lollms. 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-5443?
- CVE-2024-5443 affects lollms. It has a 1.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-5443 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 — 80.8% 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-4315CRITICAL
parisneo/lollms Local File Inclusion (LFI) attack
- 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