# CVE-2024-9920: Unrestricted File Upload and Execution in parisneo/lollms-webui

- Severity: Medium 6.6 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:P/AC:L/PR:L/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): 1.40%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:10:08.169Z
- Modified: 2026-06-17T08:25:30.813Z
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: @huntr_ai

## Description

In version v12 of parisneo/lollms-webui, the 'Send file to AL' function allows uploading files with various extensions, including potentially dangerous ones like .py, .sh, .bat, and more. Attackers can exploit this by uploading files with malicious content and then using the '/open_file' API endpoint to execute these files. The vulnerability arises from the use of 'subprocess.Popen' to open files without proper validation, leading to potential remote code execution.

(As written by CVE List.)

## Affected

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

## Every score

- @huntr_ai: CVSS:3.0 6.6 Medium `CVSS:3.0/AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://huntr.com/bounties/c70c6732-23b3-4ef8-aec6-0a47467d1ed5> (exploit, third-party-advisory)

## Sources

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

---

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