Server-Side Request Forgery (SSRF) in LibreChat - CVE-2026-31945

 

Server-Side Request Forgery (SSRF) in LibreChat - CVE-2026-31945

Published: April 27, 2026


Vulnerability identifier: #VU128115
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-31945
CWE-ID: CWE-918
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: LibreChat
Affected software:
LibreChat

Detailed vulnerability description

The vulnerability allows a remote user to disclose sensitive information from internal resources.

The vulnerability exists due to server-side request forgery (SSRF) in agent actions or MCP when processing user-supplied server URLs that resolve via DNS to private IP addresses. A remote user can supply a crafted domain name that resolves to a private IP address to disclose sensitive information from internal resources.

In cloud environments, exploitation may allow access to instance metadata endpoints.


How to mitigate CVE-2026-31945

Install security update from vendor's website.

Sources