What’s Vulnerable › Vulnerabilities
CVE-2024-2361: Arbitrary Upload & Read via Path Traversal in parisneo/lollms-webui
- Severity: critical (CVSS 9.6 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-05-16 · updated 2026-06-17
- Weakness: CWE-29
Description
A vulnerability in the parisneo/lollms-webui allows for arbitrary file upload and read due to insufficient sanitization of user-supplied input. Specifically, the issue resides in the `install_model()` function within `lollms_core/lollms/binding.py`, where the application fails to properly sanitize the `file://` protocol and other inputs, leading to arbitrary read and upload capabilities. Attackers can exploit this vulnerability by manipulating the `path` and `variant_name` parameters to achieve path traversal, allowing for the reading of arbitrary files and uploading files to arbitrary locations on the server. This vulnerability affects the latest version of parisneo/lollms-webui.
Affected products
- ParisNeo lollms-webui: before 9.5 — fixed in 9.5
How to fix
Upgrade to a fixed version: ParisNeo lollms-webui 9.5. Check the vendor advisory for mitigations.
References
- https://huntr.com/bounties/cd383817-924a-445a-838e-d0c867c6a176
- https://huntr.com/bounties/cd383817-924a-445a-838e-d0c867c6a176
Get alerted when CVE-2024-2361 or the next vulnerability affects your stack