Arbitrary file upload in Lollms Web Ui

CVE-2024-9920

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.

Vulnerability class: Unrestricted File Upload

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.014 (71.3th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 71st percentile — 71.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2024-9920: held from 0.014 to 0.014.

EPSS over last 30 days · oldest: 0.014 · newest: 0.014 · change: +0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-9920?
CVE-2024-9920 is a high-severity vulnerability in Lollms Web Ui, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 8.8/10. Published 2025-03-20.
How severe is CVE-2024-9920?
High severity. CVSS v3 base score is 8.8 out of 10.