A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /modelcontextprotocol/typescript-sdk/commit/30bfe5139f4b082…
- github.com /modelcontextprotocol/typescript-sdk/commit/433eb413dc305eb…
- github.com /modelcontextprotocol/typescript-sdk/pull/2901
- github.com /modelcontextprotocol/typescript-sdk/pull/2902
- github.com /modelcontextprotocol/typescript-sdk/releases/tag/1.32.0
- github.com /modelcontextprotocol/typescript-sdk/releases/tag/@modelcon…
- github.com /modelcontextprotocol/typescript-sdk/security/advisories/GH…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning