CVE-2024-52787: libre-chat · n/a
Affects libre-chatSource CVE Database V5
Not known to be exploited · CVSS 9.1 Critical.
Data as of 26 Oct 2026, 08:30 UTC
- 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:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Nov 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
GitHubvemonet/libre-chatpkg:github/vemonet/libre-chatOther threats | Affected
| 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.