---
id: CVE-2024-6971
aliases:
  - GHSA-7pgr-32fx-c6x9
  - PYSEC-2026-1585
title: >-
  Lord of Large Language Models (LoLLMs) Server path traversal vulnerability in
  lollms_file_system.py
summary: >-
  Lord of Large Language Models (LoLLMs) Server path traversal vulnerability in
  lollms_file_system.py
severity: low
cvss: 3.4
cvssVector: 'CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L'
vendor: lollms
product: lollms
ecosystem: pip
affected:
  - lollms <= 9.5.1
published: '2024-10-11'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-7pgr-32fx-c6x9'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-6971'
  - url: >-
      https://github.com/ParisNeo/lollms/commit/aeace796d861e922133b769710019608a6363264
  - url: 'https://github.com/ParisNeo/lollms'
  - url: 'https://huntr.com/bounties/fbfe7cd0-99fb-4305-bd07-8b573364109e'
tags:
  - osv
  - pip
epss: 0.00319
epssPercentile: 0.25063
ingestedAt: '2026-07-08T18:25:47.062Z'
---

## Overview

A path traversal vulnerability exists in the ParisNeo/lollms 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

- `lollms <= 9.5.1`

## Remediation

Refer to the advisory for the patched release.
