# CVE-2024-1520: OS Command Injection in parisneo/lollms-webui

- 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): 48.2%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-04-10T17:08:02.265Z
- Modified: 2026-06-17T07:04:24.770Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: @huntr_ai

## Description

An OS Command Injection vulnerability exists in the '/open_code_folder' endpoint of the parisneo/lollms-webui application, due to improper validation of user-supplied input in the 'discussion_id' parameter. Attackers can exploit this vulnerability by injecting malicious OS commands, leading to unauthorized command execution on the underlying operating system. This could result in unauthorized access, data leakage, or complete system compromise.

(As written by CVE List.)

## Affected

- parisneo parisneo/lollms-webui: from unspecified before 9.1
- parisneo lollms-webui: 9.0
- lollms lollms_web_ui: from 9.0 before 9.2

## References

- <https://huntr.com/bounties/405c2059-3fe9-4233-8eed-741ec847d181> (exploit, third-party-advisory)
- <https://github.com/parisneo/lollms-webui/commit/2497d1a4fe5a09f003bf7a9bc426139e9295a934> (patch)

## Sources

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

---

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