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.
CVE-2026-104850
This high-severity CVE scores 7.5 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 7.5HIGHlow confidence
- EG Risk
- 38EG Risk 38/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity75% × 45%Exploitation0% × 40%Automatability30% × 15%CISA SSVC: Track at low or medium mission impact; Track or Attend at high (mission-essential systems).Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- —
- EPSS %ILE
- —
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Track or Attend at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation none (no KEV listing, exploit record or EPSS ≥ 50%) · Automatable unknown (not published for this CVE) · Technical impact partial (CVSS below 9.0). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
October 6, 2026
Last Modified
October 6, 2026
Advisory Details (4)
Auto-updated Oct 6, 20262.2.0
Patch available: modelcontextprotocol/typescript-sdk v2.2.0
https://github.com/modelcontextprotocol/typescript-sdk/releases/tag/v2.2.0commit edd12e282620 (modelcontextprotocol/typescript-sdk)
Patch available: modelcontextprotocol/typescript-sdk @modelcontextprotocol/[email protected] (contains commit edd12e282620)
https://github.com/modelcontextprotocol/typescript-sdk/commit/edd12e282620ebf770d67316f19cf91d4112a1bdfix(client): deprecate omitting expectedIssuer and apply the SEP-2352 issuer check consistently
Patch available: modelcontextprotocol/typescript-sdk @modelcontextprotocol/[email protected] (PR #2887 merged 2026-09-28)
https://github.com/modelcontextprotocol/typescript-sdk/pull/2887OAuth client could send credentials to an authorization server chosen by the MCP server · Advisory · modelcontextprotocol/typescript-sdk · GitHub
https://github.com/modelcontextprotocol/typescript-sdk/security/advisories/GHSA-6qxp-vccf-f47hVendor Advisories for CVE-2026-104850(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(2 across 1 ecosystem)
npm(2)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| @modelcontextprotocol/client | — |
| — |
| @modelcontextprotocol/sdk | — |
| — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 2× in last 7d / 2× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-10-06 17:19 UTCEG score recompute
- 2026-10-06 15:59 UTCEG score recompute
Related CVEs(same product + same CWE)
Same product
3 shownnpm:@modelcontextprotocol/sdk
Same CWE
10 shownCWE-522 · CWE-345
Frequently asked(4)
What is CVE-2026-104850?
When was CVE-2026-104850 disclosed?
What is the CVSS score of CVE-2026-104850?
How do I remediate CVE-2026-104850?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-104850
Is Your Infrastructure Affected by CVE-2026-104850?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.