Server-Side Request Forgery (SSRF) in LibreChat - CVE-2026-31943
Published: April 27, 2026
LibreChat
Detailed vulnerability description
The vulnerability allows a remote user to make the server issue HTTP requests to internal network resources and disclose sensitive information.
The vulnerability exists due to server-side request forgery in isPrivateIP() in packages/api/src/auth/domain.ts when processing IPv4-mapped IPv6 addresses in hex-normalized form. A remote user can supply a specially crafted domain value to make the server issue HTTP requests to internal network resources and disclose sensitive information.
Exploitation requires permission to create or execute agent actions, and affected call sites include action creation, action execution, and MCP server connections.