What’s Vulnerable › Vulnerabilities
CVE-2024-6985: Path Traversal in api open_personality_folder in parisneo/lollms-webui
- Severity: medium (CVSS 4.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-10-11 · updated 2026-06-17
- Weakness: CWE-23
Description
A path traversal vulnerability exists in the api open_personality_folder endpoint of parisneo/lollms-webui. This vulnerability allows an attacker to read any folder in the personality_folder on the victim's computer, even though sanitize_path is set. The issue arises due to improper sanitization of the personality_folder parameter, which can be exploited to traverse directories and access arbitrary files.
Affected products
- parisneo/lollms: before 5.9.0 — fixed in 5.9.0
How to fix
Upgrade to a fixed version: parisneo/lollms 5.9.0. Check the vendor advisory for mitigations.
References
- https://github.com/parisneo/lollms/commit/28ee567a9a120967215ff19b96ab7515ce469620
- https://huntr.com/bounties/79c11579-47d8-4e68-8466-b47c3bf5ef6a
Get alerted when CVE-2024-6985 or the next vulnerability affects your stack