Home / modelcontextprotocol / typescript-sdk / CVE-2026-104850
CVE-2026-104850: is it exploited, and which versions of modelcontextprotocol typescript-sdk are affected and fixed?
CVE-2026-104850 is a data authenticity not verified vulnerability in modelcontextprotocol typescript-sdk. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: @modelcontextprotocol/sdk from 1.12.0 before 1.31.0 and @modelcontextprotocol/client from 2.0.0 before 2.2.0 (GitHub advisory GHSA-6qxp-vccf-f47h). Fixed in 1.31.0 and 2.2.0 (GitHub advisory GHSA-6qxp-vccf-f47h). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:05 UTC and NVD November 19, 2026, 07:06 UTC.
What is CVE-2026-104850?
MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server
MCP TypeScript SDK is the official TypeScript SDK for Model Context Protocol servers and clients. Starting in version 1.12.0 and prior to versions 1.31.0 and 2.2.0, the SDK's OAuth client support let the MCP server a client connected to decide which authorization server received the client's OAuth credentials. Stored and pre-provisioned credentials were not bound to the authorization server they belong to. A malicious or compromised MCP server could name its own authorization server in its protected resource metadata. Without any user interaction, the client would send that server the `refresh_token` and `client_secret` stored from an earlier sign-in (1.x), or the configured `client_secret` or signed assertion of a bundled non-interactive provider (1.x and 2.x). Only those applications that use the SDK as an MCP client over HTTP with an `authProvider`: your own `OAuthClientProvider`, or the bundled `ClientCredentialsProvider`, `PrivateKeyJwtProvider`, `StaticPrivateKeyJwtProvider` or (2.x) `CrossAppAccessProvider` and that may connect to an MCP server the owners does not fully trust while holding credentials for a legitimate authorization server are affected. `@modelcontextprotocol/sdk` 1.31.0 (1.x) and `@modelcontextprotocol/client` 2.2.0 (2.x) patch the issue. A workaround for those who cannot upgrade is available. 2.0.0 and 2.1.0 already accept `expectedIssuer`. On 1.x, the only workaround is to connect OAuth-enabled clients only to MCP servers you trust.
From the CVE record by GitHub_M, last updated October 6, 2026, 16:28 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| modelcontextprotocol | typescript-sdk | >= 1.12.0, < 1.31.0 >= 2.0.0, < 2.2.0 |
As the CVE record by GitHub_M states it, last updated October 6, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @modelcontextprotocol/sdk | >= 1.12.0, < 1.31.0 | 1.31.0 | GHSA-6qxp-vccf-f47h |
| npm | @modelcontextprotocol/client | >= 2.0.0, < 2.2.0 | 2.2.0 | GHSA-6qxp-vccf-f47h |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 6, 2026. Summary: MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server.
How severe is CVE-2026-104850?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-104850 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, October 6, 2026)
- EPSS
- 0.32% probability of exploitation activity in the next 30 days, percentile 26.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/modelcontextprotocol/typescript-sdk/security/advisories/GHSA-6qxp-vccf-f47h x_refsource_CONFIRM
- https://github.com/modelcontextprotocol/typescript-sdk/pull/2887 x_refsource_MISC
- https://github.com/modelcontextprotocol/typescript-sdk/commit/edd12e282620ebf770d67316f19cf91d4112a1bd x_refsource_MISC
- https://github.com/modelcontextprotocol/typescript-sdk/releases/tag/v2.2.0 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- October 2, 2026
- Published
- October 6, 2026, 16:08 UTC
- CVE record updated
- October 6, 2026, 16:28 UTC by GitHub_M
- NVD
- Awaiting Analysis, last modified October 6, 2026, 20:03 UTC
- Last checked
- CVE list November 19, 2026, 07:05 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect typescript-sdk?
- Nov 5, 2026CVE-2026-111770 modelcontextprotocol typescript-sdk: race condition
- Nov 5, 2026CVE-2026-111768 modelcontextprotocol typescript-sdk: denial of service (resources allocated without limits)
- Nov 5, 2026CVE-2026-111769 modelcontextprotocol typescript-sdk: information disclosure
- Nov 5, 2026CVE-2026-111771 modelcontextprotocol typescript-sdk: incorrect authorization
- Oct 20, 2026CVE-2026-111767 modelcontextprotocol typescript-sdk: authorization bypass through a user-controlled key (IDOR)
- Feb 4, 2026CVE-2026-25536 modelcontextprotocol typescript-sdk: race condition
- Dec 2, 2025CVE-2025-66414 modelcontextprotocol typescript-sdk: insecure default setting
Questions about CVE-2026-104850
Is CVE-2026-104850 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.32% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of modelcontextprotocol typescript-sdk are affected by CVE-2026-104850?
@modelcontextprotocol/sdk from 1.12.0 before 1.31.0 and @modelcontextprotocol/client from 2.0.0 before 2.2.0, per the GitHub advisory GHSA-6qxp-vccf-f47h. The tables above give every range the sources list.
Which version fixes CVE-2026-104850?
1.31.0 and 2.2.0, per the GitHub advisory GHSA-6qxp-vccf-f47h. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-104850?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-104850?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.