| Component | LibreChat |
| Severity | critical (CVSS 9.1) |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| Published (NVD) | 2025-03-20 |
| Last modified | 2026-06-17 |
| Affected versions | < 0.7.5 from the CVE Program record written by the CNA that assigned the CVE |
| Fixed in | 0.7.5 |
| Weakness | CWE-22 |
| CISA KEV | not listed |
NVD 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.
What to do
- Upgrade LibreChat to
0.7.5or later. - Do not expose the component's API or UI to the internet without authentication in front of it.