Skip to content
MediumVulnerability

CVE-2024-6971: lollms-webui path traversal in RAG database and folder vectorization functions

Identifier
CVE-2024-6971
Published
Record updated
View JSON
Affected
  • lollms <= 9.5.1
Fixed in
No fixed version was stated when the source was last read.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

A path traversal flaw in the parisneo/lollms-webui repository, in the lollms_file_system.py file, affects the functions add_rag_database, toggle_mount_rag_database and vectorize_folder. These functions do not apply sanitize_path_from_endpoint or sanitize_path, so an attacker can run vectorize operations on .sqlite files in any directory on the victim's computer, potentially installing multiple packages and causing a crash.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.