Advisory

PYSEC-2026-1592

Also known as: CVE-2024-5824, GHSA-m45c-v46h-c788

Summary

lollms path traversal vulnerability allows overriding of config.yaml file, leading to RCE

Details

A path traversal vulnerability in the /set_personality_config endpoint of parisneo/lollms version 9.4.0 allows an attacker to overwrite the configs/config.yaml file. This can lead to remote code execution by changing server configuration properties such as force_accept_remote_access and turn_on_code_validation.

Severity

High Basis: CVSS v3 score 7.4, vector CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/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.0 (ecosystem)

Fixed versions

9.5.0

Fix

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

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