Skip to main content
VulnerabilityPublished Updated

CVE-2024-52787: libre-chat · Path Traversal

Affects libre-chatSource CVE Database V5

0

Not known to be exploited · CVSS 9.1 Critical.

Data as of 26 Oct 2026, 12:54 UTC

CVSS 3.1 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 55% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Nov 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
GitHubvemonet/libre-chatpkg:github/vemonet/libre-chatOther threatsAffected
  • =0.0.6
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2024-52787, organizations should immediately implement the following measures: 1) Apply any official patches or updates from the libre-chat maintainers once available. 2) If patches are not yet released, implement strict server-side validation to sanitize and normalize filenames, disallowing directory traversal sequences such as '../' or absolute paths. 3) Enforce file upload restrictions by limiting allowed file types and sizes. 4) Configure the upload directory with the least privileges, ensuring the application process cannot write outside designated directories. 5) Employ filesystem access controls and monitoring to detect unauthorized file modifications. 6) Consider deploying web application firewalls (WAFs) with rules to detect and block path traversal attempts. 7) Conduct thorough security reviews of file handling code to prevent similar vulnerabilities. 8) Monitor logs for suspicious upload activity and anomalous file access patterns. 9) Educate development teams on secure coding practices related to file uploads. These targeted actions go beyond generic advice by focusing on immediate containment and long-term prevention of path traversal risks in libre-chat environments.

Description

An issue in the upload_documents method of libre-chat v0.0.6 allows attackers to execute a path traversal via supplying a crafted filename in an uploaded file.

References

Community reviews

Loading reviews…