CVE-2026-111769 Model Context Protocol TypeScript SDK: HTTP client transports and OAuth requests followed cross-origin redirects and re-sent custom headers and request bodies
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Red Hat
Description
The Model Context Protocol TypeScript SDK provides TypeScript client and server implementations of the Model Context Protocol. Prior to 1.32.0 in @modelcontextprotocol/sdk and from 2.0.0 until 2.3.0 in @modelcontextprotocol/client, the HTTP client transports and OAuth client requests followed redirects to a different origin while retaining custom request headers and, for HTTP 307 or 308 responses, request bodies. The affected surfaces are StreamableHTTPClientTransport, SSEClientTransport, and OAuth client functions such as auth(). The trigger is an HTTP redirect to another origin. Custom headers and mcp-session-id can be re-sent to the redirected origin. HTTP 307 and 308 redirects can also re-send the request body. OAuth request bodies can contain refresh_token and client_secret values. Current runtimes already strip the Authorization header across origins. stdio clients do not use the affected HTTP path. A malicious or compromised MCP or authorization server could therefore receive API keys, session identifiers, OAuth refresh tokens, or OAuth client secrets. Restoring unrestricted redirect following after upgrading restores the exposure. This issue is fixed in @modelcontextprotocol/sdk 1.32.0 and @modelcontextprotocol/client 2.3.0.
Upgrade path
5 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| modelcontextprotocol @modelcontextprotocol/sdk(npm) | < 1.32.0 | 1.32.0 | Fixed |
| modelcontextprotocol client(npm) | >= 2.0.0, < 2.3.0 | 2.3.0 | Fixed |
| modelcontextprotocol @modelcontextprotocol/sdk | = < 1.32.0 | No fix listed | Versions listed |
| modelcontextprotocol client | = >= 2.0.0, < 2.3.0 | No fix listed | Versions listed |
| modelcontextprotocol typescript-sdk | = < 1.32.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| modelcontextprotocol typescript-sdk | = < 1.32.0 | No fix listed |
| modelcontextprotocol @modelcontextprotocol/sdk | = < 1.32.0 | No fix listed |
| modelcontextprotocol client | = >= 2.0.0, < 2.3.0 | No fix listed |
| modelcontextprotocol @modelcontextprotocol/sdk(npm) | < 1.32.0 | 1.32.0 |
| modelcontextprotocol client(npm) | >= 2.0.0, < 2.3.0 | 2.3.0 |
References
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2567697 issue-tracking
- www.cve.org
- nvd.nist.gov
- https://github.com/modelcontextprotocol/typescript-sdk/commit/30bfe5139f4b0825c90cd725f9a7e3f9af5e120d patch
- https://github.com/modelcontextprotocol/typescript-sdk/commit/433eb413dc305ebeb93b8ebcde0095a8fc0d5fa0 patch
- https://github.com/modelcontextprotocol/typescript-sdk/pull/2901 patch
- https://github.com/modelcontextprotocol/typescript-sdk/pull/2902 patch
- https://github.com/modelcontextprotocol/typescript-sdk/releases/tag/1.32.0
- https://github.com/modelcontextprotocol/typescript-sdk/releases/tag/@modelcontextprotocol/server@2.3.0
- https://github.com/modelcontextprotocol/typescript-sdk/security/advisories/GHSA-6prh-2h8m-c8cw vendor-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2026-117802 third-party-advisory