CVE-2024-6971
MEDIUMlollms-webui - Path Traversal in lollms_file_system.py
Title source: llmDescription
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.
References (1)
Core 1
Core References
Exploit, Third Party Advisory
https://huntr.com/bounties/fbfe7cd0-99fb-4305-bd07-8b573364109e
Scores
CVSS v3
4.4
EPSS
0.0003
EPSS Percentile
8.1%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-22
Status
published
Products (2)
lollms/lollms-webui
9.8
pypi/lollms
0PyPI
Published
Oct 11, 2024
Tracked Since
Feb 18, 2026