Skip to main content
CVE-2024-10361VulnerabilityPublished Updated

CVE-2024-10361: danny-avila/librechat · Path Traversal

Affects danny-avila/librechatSource CVE Database V5

0

Not known to be exploited · CVSS 8.1 High.

Data as of 26 Oct 2026, 06:26 UTC

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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Mar 2025

  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 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
GitHubdanny-avila/librechatpkg:github/danny-avila/librechatOther threatsAffected
  • =0.7.5-rc2
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-10361, organizations should first verify if they are using the affected version of danny-avila/librechat (v0.7.5-rc2 or earlier). If so, immediate steps include: 1) Restrict access to the /api/files endpoint to trusted and authenticated users only, minimizing exposure. 2) Implement strict server-side input validation and sanitization to ensure file paths cannot include traversal sequences such as '../'. 3) Enforce a whitelist approach for allowable file operations and directories, rejecting any requests targeting paths outside the designated safe directory. 4) Employ application-level logging and monitoring to detect unusual file deletion requests or patterns indicative of exploitation attempts. 5) Use containerization or sandboxing to limit the impact of potential file deletions on the host system. 6) Regularly back up critical data and system files to enable recovery in case of successful exploitation. 7) Engage with the librechat development community for patches or updates addressing this vulnerability and apply them promptly once available. 8) Conduct security audits and penetration testing focusing on file handling endpoints to identify similar weaknesses. These targeted measures go beyond generic advice by focusing on the specific nature of the path traversal and file deletion risks.

Description

An arbitrary file deletion vulnerability exists in danny-avila/librechat version v0.7.5-rc2, specifically within the /api/files endpoint. This vulnerability arises from improper input validation, allowing path traversal techniques to delete arbitrary files on the server. Attackers can exploit this to bypass security mechanisms and delete files outside the intended directory, including critical system files, user data, or application resources. This vulnerability impacts the integrity and availability of the system.

References

Community reviews

Loading reviews…