CVE-2024-9920 Unrestricted File Upload and Execution in parisneo/lollms-webui
Attackers can upload malicious files and execute them via the open_file API, leading to remote code execution in Lollms Web UI.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-9920?
CVE-2024-9920 is a medium-severity vulnerability in parisneo/lollms-webui, published on 20 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-434
Which versions are affected by CVE-2024-9920?
It affects 1 product.
Products include Lollms Lollms Web Ui.
How do I fix CVE-2024-9920?
No fix has been published for CVE-2024-9920 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-9920 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-9920 exists.
Other vulnerabilities in parisneo/lollms-webui
- CVE-2024-2359 Improper Neutralization of Special Elements used in an OS Command in parisneo/lollms-webui
- CVE-2024-2360 Path Traversal leading to Remote Code Execution in parisneo/lollms-webui
- CVE-2024-4320 Remote Code Execution due to LFI in '/install_extension' in parisneo/lollms-webui
- CVE-2024-2358 Path Traversal leading to Remote Code Execution in parisneo/lollms-webui
- CVE-2024-4326 Remote Code Execution via `/apply_settings` and `/execute_code` in parisneo/lollms-webui
Sources
Also known as GHSA-54c7-72v9-gm27.