Skip to main content
← All vulnerabilities
CVE-2024-4315PYSEC-2026-403GHSA-VQWR-Q6CC-C242

LFI Vulnerability due to Lack of Path Sanitization in parisneo/lollms

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 9.8, 9.5.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

parisneo/lollms version 9.5 is vulnerable to Local File Inclusion (LFI) attacks due to insufficient path sanitization. The `sanitize_path_from_endpoint` function fails to properly sanitize Windows-style paths (backward slash `\`), allowing attackers to perform directory traversal attacks on Windows systems. This vulnerability can be exploited through various routes, including `personalities` and `/del_preset`, to read or delete any file on the Windows filesystem, compromising the system's availability.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • parisneo parisneo/lollms

    fixed in 9.8

  • lollmsPyPI

    fixed in 9.5.0

References 2

huntr.com

GitHub · parisneo/lollms