Server-Side Request Forgery (SSRF) in LibreChat - #VU166552
Published: November 18, 2026
Vulnerability details
The vulnerability allows a remote user to access internal services and potentially disclose sensitive information through server-side request forgery.
The vulnerability exists due to incomplete classification of IPv4-translated IPv6 addresses in LibreChat's isPrivateIP() guard when validating request destinations. A remote user can create an agent action or MCP server targeting an address such as http://[::ffff:0:a00:1]/ to bypass the guard and potentially access internal IPv4 services when the deployment routes the translated prefix through an appropriate translator.