CVE-2026-111769: MCP TypeScript client SDK HTTP Client Transports And OAuth Vulnerability
MODERATECVE-2026-111769 is a MODERATE (CVSS 6.5) http client transports and oauth vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting MCP TypeScript client SDK libraries in the npm ecosystem. The issue involves http client transports and oauth requests followed cross-origin redirects and re-sent custom headers and request bodies. Remediation is available by upgrading affected packages to version 1.32.0, 2.3.0.
CVE-2026-111769 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N).
How to Fix CVE-2026-111769
To remediate this vulnerability, upgrade all affected MCP TypeScript client SDK dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @modelcontextprotocol/sdk@1.32.0
npm install @modelcontextprotocol/client@2.3.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @modelcontextprotocol/sdk
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-111769, inspect your project dependencies using npm:
npm ls @modelcontextprotocol/sdk
Analyze the terminal output to locate any version of MCP TypeScript client SDK in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.32.0), your application is affected.
Note: The npm ls @modelcontextprotocol/sdk command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In MCP TypeScript client SDK, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-111769 Affected MCP TypeScript client SDK Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@modelcontextprotocol/sdk
|
npm |
< 1.32.0
|
1.32.0
|
|
@modelcontextprotocol/client
|
npm |
≥ 2.0.0
< 2.3.0
|
2.3.0
|
References
Frequently Asked Questions
What is CVE-2026-111769?
Which MCP TypeScript client SDK versions are affected?
What version fixes CVE-2026-111769?
Is @modelcontextprotocol/sdk affected?
Is @modelcontextprotocol/client affected?
What is the CVSS score of CVE-2026-111769?
What CWE is associated with CVE-2026-111769?
How can I check npm dependencies for CVE-2026-111769?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6prh-2h8m-c8cw",
"modified" : "2026-10-20T18:26:31Z",
"published" : "2026-10-20T18:26:30Z",
"aliases" : [ "CVE-2026-111769" ],
"summary" : "MCP TypeScript client SDK: HTTP client transports and OAuth requests followed cross-origin redirects and re-sent custom headers and request bodies",
"details" : "### Summary\nIn affected versions, the SDK's HTTP client transports and OAuth requests followed redirects to any origin.\n\nIf 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`.\n\nOn current runtimes `fetch` already drops the `Authorization` header across origins.\n\n### Am I affected?\nYes, if your application uses `StreamableHTTPClientTransport`, `SSEClientTransport`, or the SDK's OAuth client functions such as `auth()`. stdio clients are not affected.\n\nAffected versions:\n\n- `@modelcontextprotocol/sdk` all versions through 1.31.0\n- `@modelcontextprotocol/client` 2.0.0 through 2.2.0\n\n### Fix\nUpgrade to:\n\n- 1.x: `@modelcontextprotocol/sdk` 1.32.0 or later\n- 2.x: `@modelcontextprotocol/client` 2.3.0 or later\n\nRedirects are now followed only within the same origin, and not at all in browsers. If your MCP server or authorization server redirects to another origin on purpose, configure the final URL instead. Setting `redirectPolicy: 'follow'` on a transport restores the old behaviour and the exposure.\n\nIf a redirect may have reached a host you do not control, rotate the API keys and `client_secret` your application held and revoke its tokens.\n\nIf you cannot upgrade yet, pass a `fetch` that refuses redirects, for example `(url, init) => fetch(url, { ...init, redirect: 'error' })`.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@modelcontextprotocol/sdk"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.32.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@modelcontextprotocol/client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.3.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/modelcontextprotocol/typescript-sdk/security/advisories/GHSA-6prh-2h8m-c8cw"
}, {
"type" : "WEB",
"url" : "https://github.com/modelcontextprotocol/typescript-sdk/pull/2901"
}, {
"type" : "WEB",
"url" : "https://github.com/modelcontextprotocol/typescript-sdk/pull/2902"
}, {
"type" : "WEB",
"url" : "https://github.com/modelcontextprotocol/typescript-sdk/commit/30bfe5139f4b0825c90cd725f9a7e3f9af5e120d"
}, {
"type" : "WEB",
"url" : "https://github.com/modelcontextprotocol/typescript-sdk/commit/433eb413dc305ebeb93b8ebcde0095a8fc0d5fa0"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/modelcontextprotocol/typescript-sdk"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-20T18:26:30Z",
"nvd_published_at" : null
}
}