Skip to content
OpenAdvisories
Medium · 6.6 CVE-2024-9920 EUVD-2025-6835GHSA-54c7-72v9-gm27

Unrestricted File Upload and Execution in parisneo/lollms-webui

Published Mar 20, 2025 · Updated Mar 20, 2025 · 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.

Affected products

VendorProductAffectedFixed
parisneo parisneo/lollms-webui unspecified – ≤ latest —

References