Skip to content
MediumVulnerability

CVE-2026-54031: LibreChat MCP OAuth requests follow redirects to internal addresses

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

Summary

LibreChat versions before 0.8.8 validate only the initial destination in createOAuthFetch (packages/api/src/mcp/oauth/handler.ts) for MCP OAuth discovery, registration, token, refresh, and revocation requests. The fetch then follows redirects without checking each redirect target. An attacker who can start MCP OAuth against a controlled endpoint can redirect server requests to internal or private addresses, bypassing the initial SSRF checks. The separate MCP transport path validates redirects and is not affected.

Mitigation

Fixed in 0.8.8.