Skip to content
HighVulnerability

CVE-2026-31945: LibreChat server-side request forgery in agent actions and MCP

Identifier
CVE-2026-31945
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%

Summary

LibreChat versions 0.8.2-rc2 through 0.8.2 are vulnerable to server-side request forgery (SSRF) when agent actions or MCP are used. The earlier fix for GHSA-rgjq-4q58-m3q8 added hostname validation but does not check whether DNS resolution yields a private IP address, so an attacker can bypass it and reach internal resources such as an internal RAG API or cloud instance metadata endpoints.

Mitigation

Version 0.8.3-rc1 contains a patch.