CVE-2024-4320
published critical CVSS 3.0 · 9.8Remote Code Execution due to LFI in '/install_extension' in parisneo/lollms-webui
Package status and fixes
Description
A remote code execution (RCE) vulnerability exists in the '/install_extension' endpoint of the parisneo/lollms-webui application, specifically within the `@router.post("/install_extension")` route handler. The vulnerability arises due to improper handling of the `name` parameter in the `ExtensionBuilder().build_extension()` method, which allows for local file inclusion (LFI) leading to arbitrary code execution. An attacker can exploit this vulnerability by crafting a malicious `name` parameter that causes the server to load and execute a `__init__.py` file from an arbitrary location, such as the upload directory for discussions. This vulnerability affects the latest version of parisneo/lollms-webui and can lead to remote code execution without requiring user interaction, especially when the application is exposed to an external endpoint or operated in headless mode.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| parisneo | parisneo/lollms-webui | unspecified through latest (affected · custom) | @huntr_ai · cna |
| parisneo | lollms | 0 and later (affected · custom)Default: affected | CISA-ADP · adp |
Weaknesses
1- CWE-29 CWE-29 Path Traversal: '\..\filename'
References
1Provider assertions
3@huntr_ai · cna
Remote Code Execution due to LFI in '/install_extension' in parisneo/lollms-webui
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 72c7b389c9ad1130e5d3d33cdc0551a48e50afeb99b750fe8c79f56bf27c6309
- Ingested
- 23 Sep 2026, 08:29:21 UTC
- Source record
- Official CVE record