9.1critical
LFI Vulnerability due to Lack of Path Sanitization in parisneo/lollms
- Severity
- 9.1critical CVSS:3.0 by @huntr_ai
- Exploit likelihood
- 1.02% (higher than 64% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- @huntr_ai
- Also known as
- GHSA-vqwr-q6cc-c242PYSEC-2026-403
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| parisneo parisneo/lollms | from unspecified before 9.8 | CVE List |
| parisneo lollms | 9.5 | CVE List |
| lollms (PyPI) | before 9.5.0 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| @huntr_ai | 9.1critical CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| GitHub | 9.1critical CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| PyPA Advisory Database | 9.1critical CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
parisneo/lollms versión 9.5 es vulnerable a ataques de inclusión de archivos locales (LFI) debido a una sanitización insuficiente de la ruta. La función `sanitize_path_from_endpoint` no sanitiza adecuadamente las rutas de estilo Windows (barra invertida `\`), lo que permite a los atacantes realizar ataques de directory traversal en sistemas Windows. Esta vulnerabilidad se puede explotar a través de varias rutas, incluidas `personalities` y `/del_preset`, para leer o eliminar cualquier archivo en el sistema de archivos de Windows, comprometiendo la disponibilidad del sistema.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-4315 changed 2025-10-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vqwr-q6cc-c242 changed 2026-11-16 | CC-BY-4.0 |
| NVD | CVE-2024-4315 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-403 changed 2026-07-01 | CC-BY-4.0 |