CVE-2024-4315

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

Published Jun 12, 2024 CVSS 3.0 · 9.1 Critical EPSS 1.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-2181 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.
Github GHSA Github GHSA GHSA-vqwr-q6cc-c242 parisneo/lollms Local File Inclusion (LFI) attack
History
Type Values Removed Values Added
Weaknesses CWE-98
Type Values Removed Values Added
Weaknesses CWE-22
Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
Oct 15, 2025, 12:50 PM
Reserved
Apr 29, 2024, 4:15 PM
Status
Deferred
Published
Jun 12, 2024, 1:15 AM
Modified
Jun 17, 2026, 8:01 AM