CVE-2024-6971 Path Traversal in parisneo/lollms-webui
Attackers can exploit path traversal to vectorize SQLite files in arbitrary directories, potentially causing crashes or unauthorized data access.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-6971?
CVE-2024-6971 is a low-severity path traversal vulnerability in parisneo/lollms, published on 11 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A path traversal vulnerability exists in the parisneo/lollms-webui repository, specifically in the `lollms_file_system.py` file. The functions `add_rag_database`, `toggle_mount_rag_database`, and `vectorize_folder` do not implement security measures such as `sanitize_path_from_endpoint` or `sanitize_path`. This allows an attacker to perform vectorize operations on `.sqlite` files in any directory on the victim's computer, potentially installing multiple packages and causing a crash.
Weakness: CWE-22
Which versions are affected by CVE-2024-6971?
3 open source packages ship an affected version, including lollms. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
lollms PyPI | All versions to 9.5.1 | None |
lollms PyPI | All versions to 9.5.1 | None |
lollms PyPI | All versions to 9.5.1 | None |
Products include Lollms Lollms-Webui.
How do I fix CVE-2024-6971?
No fix has been published for CVE-2024-6971 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-6971 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6971 exists.
Other vulnerabilities in parisneo/lollms
- CVE-2024-4267 Remote Code Execution in parisneo/lollms-webui
- CVE-2024-1646 Authentication Bypass in parisneo/lollms-webui
- CVE-2024-1601 SQL Injection in parisneo/lollms-webui
- CVE-2024-5125 XSS and Open Redirect via SVG File Upload in parisneo/lollms-webui
- CVE-2024-1569 Uncontrolled Resource Consumption in parisneo/lollms-webui
Sources
Also known as GHSA-7pgr-32fx-c6x9, PYSEC-2026-1585.