CVE-2024-6971

Path Traversal in parisneo/lollms-webui

State
Published
Severity
3.4 Low
Published
Oct 11, 2024
Updated
Oct 11, 2024
Reserved
Jul 21, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.03.4 LowCVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L@huntr_ai

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
parisneo/lollmsparisneo
  • latest and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.