CVE-2024-4078
CRITICAL 9.8CVSS 3.0LoLLMS Command Injection vulnerability
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.
- Published
- 16 May 2024
- Last modified
- 7 Jul 2026
- Assigned by
- security@huntr.dev
- NVD status
- Deferred
- Weakness
- CWE-77
- Also known as
- GHSA-pwc9-q4hj-pg8gPYSEC-2026-1593
- Sources
- NVDJSONOSV GHSA-pwc9-q4hj-pg8gJSONOSV PYSEC-2026-1593JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P | |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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/7ebe08da7e0026b155af4f7be1d6417bc64cf02f · WEB
- https://huntr.com/bounties/a55a8c04-df44-49b2-bcfa-2a2b728a299d · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-4078 · ADVISORY
- https://github.com/parisneo/lollms · PACKAGE
- https://pypi.org/project/lollms · PACKAGE
- https://github.com/advisories/GHSA-pwc9-q4hj-pg8g · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 16 May 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 16 May 2024)