Skip to content
Threat Brief

← All advisories

CVE-2024-4315

Critical 9.1No known exploitationFix available

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

Vendor advisory: GHSA-vqwr-q6cc-c242

Record last updated

CVSS score

9.1

Critical on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

None

No EPSS score available

CISA remediation deadline

None

Not in the KEV catalog

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.

Weakness: CWE-22

Patching and mitigation

Patch status
Fix available (source: GitHub Advisory Database)
Fix documented (source date)
Mitigation
None documented
Vendor guidance
github.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
parisneoparisneo/lollmsall versions before 9.89.8CVE Program
piplollmsall versions before 9.5.09.5.0GitHub Advisory Database

Timeline

  1. Disclosure

    CVE record published by @huntr_ai

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by GitHub Advisory Database

    Source: GitHub Advisory Database (opens in a new tab)

Vendor guidance and references