Skip to main content
VulnerabilityPublished Updated

CVE-2024-41704: LibreChat · Path Traversal

Affects LibreChatSource CVE Database V5

0

Not known to be exploited · CVSS 9.1 Critical.

Data as of 26 Oct 2026, 15:59 UTC

CVSS 3.1 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 51% 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 22 Jul 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
GitHubdanny-avila/LibreChatpkg:github/danny-avila/LibreChatOther threatsAffected
  • =0.7.4-rc1
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-41704, organizations should immediately upgrade LibreChat to a version that addresses this vulnerability once available. In the absence of an official patch, administrators should implement strict input validation and sanitization on image pathnames, ensuring normalization processes prevent directory traversal sequences such as '../'. Employing web application firewalls (WAFs) with rules to detect and block path traversal attempts can provide interim protection. Restrict file system permissions for the LibreChat application to the minimum necessary, preventing unauthorized access or modification of critical files outside designated directories. Conduct thorough code reviews and security testing focusing on file handling routines. Monitoring logs for suspicious file access patterns or errors related to image uploads can help detect exploitation attempts early. Finally, educate development teams on secure coding practices related to file path handling to prevent similar vulnerabilities in future releases.

Description

LibreChat through 0.7.4-rc1 does not validate the normalized pathnames of images.

References

Community reviews

Loading reviews…