# CVE-2024-4078: Arbitrary Code Execution in parisneo/lollms

- Severity: Critical 9.8 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.92%, higher than 61% of CVEs (2026-12-01)
- Published: 2024-05-16T09:03:49.562Z
- Modified: 2026-07-07T17:57:04.498Z
- Also known as: GHSA-pwc9-q4hj-pg8g, PYSEC-2026-1593
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: @huntr_ai

## Description

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.

(As written by CVE List.)

## Affected

- parisneo parisneo/lollms: from unspecified before main
- parisneo lollms-webui: 1.4.6
- lollms (PyPI): before 9.5.0

## Every score

- @huntr_ai: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.0 9.8 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `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`
- PyPA Advisory Database: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: 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`

## References

- <https://huntr.com/bounties/a55a8c04-df44-49b2-bcfa-2a2b728a299d> (web)
- <https://github.com/parisneo/lollms/commit/7ebe08da7e0026b155af4f7be1d6417bc64cf02f> (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)

## Sources

- CVE List: [CVE-2024-4078](https://www.cve.org/CVERecord?id=CVE-2024-4078), CVE Terms of Use, modified 2024-08-08
- GitHub Advisory Database: [GHSA-pwc9-q4hj-pg8g](https://github.com/advisories/GHSA-pwc9-q4hj-pg8g), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2024-4078](https://nvd.nist.gov/vuln/detail/CVE-2024-4078), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1593](https://osv.dev/vulnerability/PYSEC-2026-1593), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-4078 · Whole record: https://cve.day/CVE-2024-4078.json · Rebuilt by cve.day 2026-11-25T22:58:40.432Z
