Public vulnerability disclosure

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

publishedCWE-200

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.

Technical severity6.5 mediumCVSS 3.1 · CNA: GitHub_M
Published2026-11-05Source updated 2026-11-09
Collected2026-11-095 attributed sources

Fixes and workarounds

Fix

@modelcontextprotocol/sdk (npm): GitHub reports patched versions 1.32.0. Check the advisory for the affected release branch.

Source: GitHub GHSA-6prh-2h8m-c8cw

Fix

@modelcontextprotocol/client (npm): GitHub reports patched versions 2.3.0. Check the advisory for the affected release branch.

Source: GitHub GHSA-6prh-2h8m-c8cw

Fix

@modelcontextprotocol/sdk (npm): OSV reports a fixed version 1.32.0. Check the advisory for supported release branches.

Source: OSV GHSA-6prh-2h8m-c8cw

Fix

@modelcontextprotocol/client (npm): OSV reports a fixed version 2.3.0. Check the advisory for supported release branches.

Source: OSV GHSA-6prh-2h8m-c8cw

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
typescript-sdk
modelcontextprotocol
< 1.32.0 (affected) CNA: GitHub_M
sdk
@modelcontextprotocol
< 1.32.0 (affected) CNA: GitHub_M
client
@modelcontextprotocol
>= 2.0.0, < 2.3.0 (affected) CNA: GitHub_M
@modelcontextprotocol/sdk

@modelcontextprotocol/sdk
npm
< 1.32.0 (affected, GitHub advisory range) GitHub GHSA-6prh-2h8m-c8cw
@modelcontextprotocol/client

@modelcontextprotocol/client
npm
>= 2.0.0, < 2.3.0 (affected, GitHub advisory range) GitHub GHSA-6prh-2h8m-c8cw
@modelcontextprotocol/sdk

@modelcontextprotocol/sdk
npm
≥ 0; < 1.32.0 (affected, semver); OSV events: introduced 0; fixed 1.32.0
Source events (semver)
[
  {
    "introduced": "0"
  },
  {
    "fixed": "1.32.0"
  }
]

Other versions: unaffected
OSV GHSA-6prh-2h8m-c8cw
@modelcontextprotocol/client

@modelcontextprotocol/client
npm
≥ 2.0.0; < 2.3.0 (affected, semver); OSV events: introduced 2.0.0; fixed 2.3.0
Source events (semver)
[
  {
    "introduced": "2.0.0"
  },
  {
    "fixed": "2.3.0"
  }
]

Other versions: unaffected
OSV GHSA-6prh-2h8m-c8cw

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 6.5
medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:NCNA: GitHub_M
3.1 / 6.5
medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:NNVD: [email protected]

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide