Vulnerability · Published Oct 11, 2024 · Assigned by @huntr_ai

CVE-2024-6971Path Traversal in parisneo/lollms-webui

Low 3.4

In plain English

A low-severity path traversal in parisneo/lollms from parisneo. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities).

Severity (CVSS 3.0)3.4Low
Exploit odds (30 days)0.3%top 75.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIlollmsno fix listedGHSA-7pgr-32fx-c6x9
PyPIlollmsno fix listedPYSEC-2026-1585

Affected products (as reported)

VendorProductVersions
parisneo parisneo/lollms unspecified – through latest

Weakness: CWE-22 · Vector: CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L

References