AI Stack Alert Medium CVE-2026-111769 For AI Eng, AppSec, SOC / IR AI-assisted
MCP TypeScript SDK redirect flaw leaks headers and bodies across origins (CVE-2026-111769)
The Model Context Protocol TypeScript SDK followed HTTP redirects to a different origin while keeping custom headers and mcp-session-id. For HTTP 307 and 308 responses it also re-sent request bodies, which can include OAuth refresh_token and client_secret values. Affected versions are @modelcontextprotocol/sdk before 1.32.0 and @modelcontextprotocol/client from 2.0.0 until 2.3.0.
Why it matters
A malicious or compromised MCP or authorization server can receive API keys, session identifiers, OAuth refresh tokens, or client secrets from clients that follow cross-origin redirects. Upgrading alone is not enough if unrestricted redirect following is re-enabled.
Do this
- Upgrade @modelcontextprotocol/sdk to 1.32.0 or later, or @modelcontextprotocol/client to 2.3.0 or later.
- Inventory applications that use StreamableHTTPClientTransport, SSEClientTransport, or the auth() OAuth functions, and list their installed SDK versions.
- Do not restore unrestricted cross-origin redirect following after upgrading; keep the fixed redirect behavior in place.
- Rotate API keys, session identifiers, OAuth refresh tokens, and client secrets that were used by affected clients, if exposure to untrusted servers is possible.
- Review MCP server and authorization server endpoints that clients contact for redirects to unexpected origins.
Exploit Clock
Exploitation unlikely (for now)
- EPSS 0.40%
Signals
- NoCISA KEV
- 6.5CVSS
- 0.40%EPSS
- NoPublic PoC
- 27/100Priority
- 80%Confidence
Evidence
“the HTTP client transports and OAuth client requests followed redirects to a different origin while retaining custom request headers”
“OAuth request bodies can contain refresh_token and client_secret values.”
“This issue is fixed in @modelcontextprotocol/sdk 1.32.0 and @modelcontextprotocol/client 2.3.0.”
Sources
Affected / related
@modelcontextprotocol/sdk, @modelcontextprotocol/client, StreamableHTTPClientTransport, SSEClientTransport
Published 2026-11-05 22:17 UTC · updated 2026-11-08 02:27 UTC · AI-assisted summary, checked against quoted sources · How we score