{"id":"CVE-2024-4315","aliases":["CVE-2024-4315","GHSA-vqwr-q6cc-c242","PYSEC-2026-403"],"related":[],"kind":"vulnerability","state":"published","title":"LFI Vulnerability due to Lack of Path Sanitization in parisneo/lollms","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-06-12T00:40:15.768Z","modified":"2026-11-16T15:30:04.598Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"9.8","status":"affected"}],"vendor":"parisneo","product":"parisneo/lollms","source":"cvelist"},{"ranges":[{"version":"9.5","status":"affected"}],"vendor":"parisneo","product":"lollms","cpe":"cpe:2.3:a:parisneo:lollms:9.5:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"9.5.0"}],"ecosystem":"PyPI","package":"lollms","purl":"pkg:pypi/lollms","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"9.5.0"}],"ecosystem":"PyPI","package":"lollms","purl":"pkg:pypi/lollms","source":"pysec"}],"references":[{"url":"https://huntr.com/bounties/8a1b0197-2c36-4276-b92b-630a2a9bb09c","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/parisneo/lollms/commit/95ad36eeffc6a6be3e3f35ed35a384d768f0ecf6","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4315","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/ParisNeo/lollms","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/lollms/PYSEC-2026-403.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://pypi.org/project/lollms","tags":["package","web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/advisories/GHSA-vqwr-q6cc-c242","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2024-06-26T14:27:21.754Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-4315","url":"https://www.cve.org/CVERecord?id=CVE-2024-4315","licence":"CVE Terms of Use","modified":"2025-10-15T12:50:24.257Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vqwr-q6cc-c242","url":"https://github.com/advisories/GHSA-vqwr-q6cc-c242","licence":"CC-BY-4.0","modified":"2026-11-16T15:30:04.598Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-4315","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4315","licence":"Public domain","modified":"2026-06-17T08:01:39.453Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-403","url":"https://osv.dev/vulnerability/PYSEC-2026-403","licence":"CC-BY-4.0","modified":"2026-07-01T20:22:56.796Z"}],"updatedAt":"2026-11-25T22:58:41.728Z","epss":{"score":0.01024,"percentile":0.64514,"date":"2026-12-01T12:00:22.000Z"}}