# CVE-2024-2366: Remote Code Execution in parisneo/lollms-webui

- Severity: Critical 9.0 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/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.66%, higher than 52% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-05-16T09:03:49.643Z
- Modified: 2026-06-17T07:24:24.020Z
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: @huntr_ai

## Description

A remote code execution vulnerability exists in the parisneo/lollms-webui application, specifically within the reinstall_binding functionality in lollms_core/lollms/server/endpoints/lollms_binding_infos.py of the latest version. The vulnerability arises due to insufficient path sanitization, allowing an attacker to exploit path traversal to navigate to arbitrary directories. By manipulating the binding_path to point to a controlled directory and uploading a malicious __init__.py file, an attacker can execute arbitrary code on the server.

(As written by CVE List.)

## Affected

- parisneo parisneo/lollms-webui: from unspecified up to latest
- parisneo lollms-webui: -
- lollms lollms_web_ui: before 9.5

## References

- <https://huntr.com/bounties/63266c77-408b-45ff-962c-8163db50a864> (exploit, issue-tracking, patch, third-party-advisory)

## Sources

- CVE List: [CVE-2024-2366](https://www.cve.org/CVERecord?id=CVE-2024-2366), CVE Terms of Use, modified 2024-08-01
- NVD: [CVE-2024-2366](https://nvd.nist.gov/vuln/detail/CVE-2024-2366), Public domain, modified 2026-06-17

---

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