LibreChatPublished 20 Mar 2025NVD status: Modified

CVE-2024-10361

An arbitrary file deletion vulnerability exists in danny-avila/librechat version v0.7.5-rc2, specifically within the /api/files endpoint.

ComponentLibreChat
Severitycritical (CVSS 9.1)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Published (NVD)2025-03-20
Last modified2026-06-17
Affected versions
< 0.7.5
from the CVE Program record written by the CNA that assigned the CVE
Fixed in0.7.5
WeaknessCWE-22
CISA KEVnot 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.5 or later.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources