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

Published Mar 20, 2025
·
Updated

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 '/openfile' 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.

Affected Software

2 affected components
parisneo lollms-webui
lollms Lollms Web Ui=12

Event History

Mar 20, 2025
CVE Published
via MITRE·10:10 AM
Data Sourced
via MITRE·10:10 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2024-9920?

CVE-2024-9920 is categorized as a high severity vulnerability due to its potential for code execution through file uploads.

2

How do I fix CVE-2024-9920?

To mitigate CVE-2024-9920, restrict file upload capabilities to only safe file types and implement robust validation mechanisms.

3

What software versions are affected by CVE-2024-9920?

CVE-2024-9920 affects version v12 of parisneo/lollms-webui.

4

How can an attacker exploit CVE-2024-9920?

An attacker can exploit CVE-2024-9920 by uploading malicious files through the 'Send file to AL' function.

5

What types of files can be uploaded that are vulnerable in CVE-2024-9920?

CVE-2024-9920 is vulnerable to uploading various dangerous file types, including .py, .sh, and .bat.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203