CVE-2024-10361
JSON

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 packageVersionsReported by
danny-avila danny-avila/librechatfrom unspecified before 0.7.5CVE List
librechat librechat0.7.5NVD

All scores

@huntr_ai8.1high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
NVD9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Classification

CWE-22

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

SourceRecordLicence
CVE ListCVE-2024-10361 changed 2025-10-15CVE Terms of Use
NVDCVE-2024-10361 changed 2026-06-17Public domain