PYSEC-2026-1583
LoLLMS Path Traversal vulnerability
Quick fix
PYSEC-2026-1583 — lollms: upgrade to the fixed version with the command below.
pip install --upgrade 'lollms>=9.5.0'Details
A path traversal vulnerability exists in the parisneo/lollms application, specifically within the `sanitize_path_from_endpoint` and `sanitize_path` functions in `lollms_core\lollms\security.py`. This vulnerability allows for arbitrary file reading when the application is running on Windows. The issue arises due to insufficient sanitization of user-supplied input, enabling attackers to bypass the path traversal protection mechanisms by crafting malicious input. Successful exploitation could lead to unauthorized access to sensitive files, information disclosure, and potentially a denial of service (DoS) condition by including numerous large or resource-intensive files. This vulnerability affects the latest version prior to 9.5.0.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-3429[ADVISORY]
- https://github.com/parisneo/lollms/commit/f4424cfc3d6dfb3ad5ac17dd46801efe784933e9[WEB]
- https://github.com/parisneo/lollms[PACKAGE]
- https://huntr.com/bounties/fd8f50c8-17f0-40be-a2c6-bb8d80f7c409[WEB]
- https://pypi.org/project/lollms[PACKAGE]
- https://github.com/advisories/GHSA-3x47-w4rx-6pm7[ADVISORY]