# CVE-2024-10361: Arbitrary File Deletion via Path Traversal in danny-avila/librechat

- Severity: High 8.1 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.02%, higher than 64% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:09:09.995Z
- Modified: 2026-06-17T06:55:28.967Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- danny-avila danny-avila/librechat: from unspecified before 0.7.5
- librechat librechat: 0.7.5

## Every score

- @huntr_ai: CVSS:3.0 8.1 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://huntr.com/bounties/e811f7f7-9556-4564-82e2-5b3d17599b2d> (exploit, third-party-advisory)
- <https://github.com/danny-avila/librechat/commit/0b744db1e2af31a531ffb761584d85540430639c> (patch)

## Sources

- CVE List: [CVE-2024-10361](https://www.cve.org/CVERecord?id=CVE-2024-10361), CVE Terms of Use, modified 2025-10-15
- NVD: [CVE-2024-10361](https://nvd.nist.gov/vuln/detail/CVE-2024-10361), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-10361 · Whole record: https://cve.day/CVE-2024-10361.json · Rebuilt by cve.day 2026-11-25T22:58:52.327Z
