CVE-2024-4315

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.

Severity
CRITICAL
CVSS v3
9.1
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H · source cna
Exploit chance (EPSS)
1.024%
chance of exploitation in the next 30 days
higher than 64.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableyes
Technical impactpartial
Scored2024-06-26

Timeline

  1. 2024-06-12Published by the CNA00:40 UTC
  2. 2024-06-12GitHub advisory published (GHSA-vqwr-q6cc-c242)same day
  3. 2024-06-26CISA SSVC decision recorded14 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-vqwr-q6cc-c242, affected packages:

PackageVulnerable versionsFixed in
PyPI lollmsbefore 9.5.09.5.0

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
parisneo parisneo/lollmsbefore 9.8fixed in 9.89.8

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources