Advisory

PYSEC-2026-1587

Also known as: CVE-2024-6281, GHSA-8mrm-r7h3-c3hj

Summary

LoLLMS vulnerable to Expected Behavior Violation

Details

A path traversal vulnerability exists in the apply_settings function of parisneo/lollms versions prior to 9.5.1. The sanitize_path function does not adequately secure the discussion_db_name parameter, allowing attackers to manipulate the path and potentially write to important system folders.

Severity

High Basis: CVSS v3 score 7.3, vector CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-07 17:46 UTC

Affected packages and fixes

lollms

PyPI · All systems

Affected

  • introduced 0, fixed 9.5.1 (ecosystem)

Fixed versions

9.5.1

Fix

  • Fixed version 9.5.1
    pip install --upgrade lollms==9.5.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences