CVE-2024-4078 json
Arbitrary Code Execution in parisneo/lollms
published 2024-05-16 2 y ago modified 2026-07-07 4 mo ago also GHSA-pwc9-q4hj-pg8g , PYSEC-2026-1593 , EUVD-2024-1729
- cvss
- 9.8
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
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.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.92% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | lollms | <9.5.0 |
9.5.0 |
Affected products
- parisneo parisneo/lollms
- parisneo lollms-webui
Classification
- Weakness
-
- CWE-77 Improper Neutralization of Special Elements used in a Command
References
-
github.com
/parisneo/lollms/commit/7ebe08da7e0026b155af4f7be1d6417bc64cf02f
web
-
huntr.com
/bounties/a55a8c04-df44-49b2-bcfa-2a2b728a299d
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-4078
advisory
-
github.com
/parisneo/lollms
package
-
pypi.org
/project/lollms
package
-
github.com
/advisories/GHSA-pwc9-q4hj-pg8g
advisory
Sources
- CVE List CVE-2024-4078
- GitHub Advisory GHSA-pwc9-q4hj-pg8g
- NVD CVE-2024-4078
- OSV PYSEC-2026-1593
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.