#VU124045 Path traversal in RAG API - CVE-2025-68413

 

#VU124045 Path traversal in RAG API - CVE-2025-68413

Published: March 17, 2026


Vulnerability identifier: #VU124045
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2025-68413
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vulnerable software:
RAG API
Software vendor:
LibreChat

Description

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

The vulnerability exists due to input validation error when processing directory traversal sequences in /embed-local, /embed, and /embed-upload endpoints. A remote user can send a specially crafted HTTP request and read arbitrary files on the system.


Remediation

Install updates from vendor's website.

External links