Critical severity · published Jun 12, 2024
CVE-2024-4315
LFI Vulnerability due to Lack of Path Sanitization in parisneo/lollms
9.1
CVSS
1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.0% · higher than 63% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PA
parisneo/lollms · parisneo
before 9.8 · source: vendor
LO
Lollms · Parisneo
9.5 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-4315
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-4315
github.com
https://github.com/parisneo/lollms/commit/95ad36eeffc6a6be3e3f35ed35a384d768f0ecf6
huntr.com
https://huntr.com/bounties/8a1b0197-2c36-4276-b92b-630a2a9bb09c
More from parisneo/lollms
9.8
CVE-2026-1114
Improper Access Control via Weak JWT Token in parisneo/lollms
9.8
CVE-2026-0558
Unauthenticated File Upload in parisneo/lollms
9.8
CVE-2024-5443
Remote Code Execution via Path Traversal in parisneo/lollms
9.8
CVE-2024-3429
Path Traversal in parisneo/lollms
9.8
CVE-2024-4078
Arbitrary Code Execution in parisneo/lollms
