Advisory

GHSA-m45c-v46h-c788

Also known as: CVE-2024-5824, PYSEC-2026-1592

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: The source's own band: HIGH

Dates

Published
2024-06-27 21:32 UTC
Modified
2026-07-07 17:56 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences