Arbitrary Code Execution in parisneo/lollms
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-77.
Summary
A vulnerability in the parisneo/lollms, specifically in the `/unInstall_binding` endpoint, allows for arbitrary code execution due to insufficient sanitization of user input. The issue arises from the lack of path sanitization when handling the `name` parameter in the `unInstall_binding` function, allowing an attacker to traverse directories and execute arbitrary code by loading a malicious `__init__.py` file. This vulnerability affects the latest version of the software. The exploitation of this vulnerability could lead to remote code execution on the system where parisneo/lollms is deployed.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| parisneo | parisneo/lollms | before main | main | Patch available | CNA |
| — | lollms (PyPI) | before 9.5.0 | 9.5.0 | Patch available | GHSA-pwc9-q4hj-pg8g |
- parisneo/lollms Vendorparisneo Affected before main Fixed in main Patch available CNA
- lollms (PyPI) Vendor— Affected before 9.5.0 Fixed in 9.5.0 Patch available GHSA-pwc9-q4hj-pg8g
Remediation
- Fix · CNA parisneo/lollms (parisneo) Fixed in main
- Fix · GHSA-pwc9-q4hj-pg8g lollms (PyPI) Fixed in 9.5.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-4078
- 2026-10-03 Alias added: GHSA-pwc9-q4hj-pg8g
References
More parisneo vulnerabilities
- TI-2026-00842 Improper Access Control via Weak JWT Token in parisneo/lollms CVSS 3.0CRITICAL 9.8
- TI-2024-05059 Remote Code Execution via Path Traversal in parisneo/lollms CVSS 3.0CRITICAL 9.8
- TI-2024-04029 Remote Code Execution via `/apply_settings` and `/execute_code` in parisneo/lollms-webui CVSS 3.0CRITICAL 9.8
- TI-2024-04023 Remote Code Execution due to LFI in '/install_extension' in parisneo/lollms-webui CVSS 3.1CRITICAL 9.8
- TI-2024-02196 Arbitrary Upload & Read via Path Traversal in parisneo/lollms-webui CVSS 3.0CRITICAL 9.6
- TI-2024-02195 Path Traversal leading to Remote Code Execution in parisneo/lollms-webui CVSS 3.1CRITICAL 9.8
Sources
- CVE-2024-4078 · CVE Program
- CVE-2024-4078 · NVD
- FIRST EPSS
- GHSA-pwc9-q4hj-pg8g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences