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

EPSS: 0.013 (67.0th percentile) — read the EPSS interpretation.

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.

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.