8.1high
Arbitrary File Deletion via Path Traversal in danny-avila/librechat
- Severity
- 8.1high CVSS:3.0 by @huntr_ai
- Exploit likelihood
- 1.02% (higher than 64% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| danny-avila danny-avila/librechat | from unspecified before 0.7.5 | CVE List |
| librechat librechat | 0.7.5 | NVD |
All scores
| @huntr_ai | 8.1high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| NVD | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Existe una vulnerabilidad de eliminación arbitraria de archivos en la versión v0.7.5-rc2 de danny-avila/librechat, específicamente en el endpoint /api/files. Esta vulnerabilidad se debe a una validación de entrada incorrecta, lo que permite que técnicas de path traversal eliminen archivos arbitrarios en el servidor. Los atacantes pueden explotar esto para eludir los mecanismos de seguridad y eliminar archivos fuera del directorio previsto, incluyendo archivos críticos del sistema, datos de usuario o recursos de la aplicación. Esta vulnerabilidad afecta la integridad y la disponibilidad del sistema.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-10361 changed 2025-10-15 | CVE Terms of Use |
| NVD | CVE-2024-10361 changed 2026-06-17 | Public domain |