Path traversal in LibreChat - CVE-2026-34371

 

Path traversal in LibreChat - CVE-2026-34371

Published: April 7, 2026


Vulnerability identifier: #VU125020
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2026-34371
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: LibreChat
Affected software:
LibreChat

Detailed vulnerability description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in execute_code. A remote user can send a specially crafted HTTP request and write arbitrary files on the system.


How to mitigate CVE-2026-34371

Install updates from vendor's website.

Sources