GHSA-6prh-2h8m-c8cw
MCP TypeScript client SDK: HTTP client transports and OAuth requests followed cross-origin redirects and re-sent custom headers and request bodies
Published Oct 20, 2026 · Source: GitHub Advisory Database (via OSV.dev). Data collected Sat, 28 Nov 2026 19:06:22 GMT.
The facts
| Advisory id | GHSA-6prh-2h8m-c8cw |
|---|---|
| CVE | CVE-2026-111769 |
| Package | @modelcontextprotocol/sdk npm: @modelcontextprotocol/sdk |
| Published | Oct 20, 2026 |
| Source severity | MODERATE |
| Our severity | medium · 50 Advisory severity: MODERATE · Confidence: GitHub Advisory Database / OSV · See the rules |
| Fix | Fixed in 1.32.0 |
| Source | GitHub Advisory Database (via OSV.dev) |
Summary AI summary
Open-source package @modelcontextprotocol/sdk versions before 1.32.0 sent custom headers and request bodies to any origin after cross-origin redirects.
Excerpt from the source
Copied from the official record, trimmed. Read the full source before acting.
### Summary In affected versions, the SDK's HTTP client transports and OAuth requests followed redirects to any origin. If an MCP server or authorization server redirected a request to another origin, that origin received custom request headers (such as an `X-API-Key` set in `requestInit.headers`) and the `mcp-session-id` header. On a `307` or `308` it also received the request body, including OAuth token requests with their `refresh_token` and `client_secret`. On current runtimes `fetch` already drops the `Authorization` header across origins. ### Am I affected? Yes, if your application uses
What to do
Update to version 1.32.0 or later to resolve the issue.
Other recent advisories for this package
- GHSA-f897-62hf-6gxq · Oct 27, 2026 · MCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch length
- GHSA-46jr-4wx8-v453 · Oct 20, 2026 · MCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validation
- GHSA-rvq5-wwqv-78pq · Oct 20, 2026 · MCP TypeScript SDK: Server bearer authentication accepted tokens issued for another service
- GHSA-22jm-h49p-29qw · Oct 20, 2026 · MCP TypeScript SDK: Experimental tasks were not tied to the session that created them
- GHSA-6qxp-vccf-f47h · Oct 6, 2026 · MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server
This page restates a public advisory. Confirm the facts on the linked source before you act. BigBadAI is independent and not affiliated with the package authors. Data collected .