Medium severity · published Oct 11, 2024
CVE-2024-6971
Path Traversal in parisneo/lollms-webui
4.4
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 25% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PA
parisneo/lollms · parisneo
through latest · source: vendor
LO
Lollms-webui · Lollms
9.8 · source: NVD
LO
Lollms · Parisneo
through 9.9 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-6971
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-6971
Exploit
https://huntr.com/bounties/fbfe7cd0-99fb-4305-bd07-8b573364109e
More from parisneo/lollms
9.8
CVE-2026-1114
Improper Access Control via Weak JWT Token in parisneo/lollms
9.8
CVE-2026-0558
Unauthenticated File Upload in parisneo/lollms
9.8
CVE-2024-5443
Remote Code Execution via Path Traversal in parisneo/lollms
9.8
CVE-2024-3429
Path Traversal in parisneo/lollms
9.8
CVE-2024-4078
Arbitrary Code Execution in parisneo/lollms
