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

- Severity: High 8.4 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:L/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): 2.77%, higher than 87% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-05-16T09:03:47.640Z
- Modified: 2026-06-17T07:43:21.787Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: @huntr_ai

## Description

A command injection vulnerability exists in the 'run_xtts_api_server' function of the parisneo/lollms-webui application, specifically within the 'lollms_xtts.py' script. The vulnerability arises due to the improper neutralization of special elements used in an OS command. The affected function utilizes 'subprocess.Popen' to execute a command constructed with a Python f-string, without adequately sanitizing the 'xtts_base_url' input. This flaw allows attackers to execute arbitrary commands remotely by manipulating the 'xtts_base_url' parameter. The vulnerability affects versions up to and including the latest version before 9.5. Successful exploitation could lead to arbitrary remote code execution (RCE) on the system where the application is deployed.

(As written by CVE List.)

## Affected

- parisneo parisneo/lollms-webui: from unspecified before 9.5
- lollms lollms_web_ui: before 9.5

## References

- <https://huntr.com/bounties/0e2bec70-826e-4c24-8015-31921e23fd12> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/parisneo/lollms-webui/commit/41dbb1b3f2e78ea276e5269544e50514252c0c25> (patch)

## Sources

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

---

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