VDB

CVE-2026-104850

CVE-2026-104850 PUBLISHED CVSS 7.5 HIGH

Reported by GitHub_M · Published October 6, 2026

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.

Risk Scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected Products

VendorProductVersions
modelcontextprotocoltypescript-sdk>= 1.12.0, < 1.31.0, >= 2.0.0, < 2.2.0
modelcontextprotocoltypescript-sdk2.0.0, 1.12.0
chainguardcommercial-gitlab-rails-ee-19.20
chainguardwazuh-dashboard-fips0
modelcontextprotocolsdk1.12.0
chainguardcommercial-gitlab-rails-ee-fips-19.30
chainguardkibana-9.50
chainguardcommercial-gitlab-rails-ee-fips-19.20
chainguardopensearch-dashboards-2-fips0
chainguardopensearch-dashboards-20
chainguardcommercial-gitlab-rails-ee-19.10
chainguardkibana-9.40
chainguardkibana-9.20
chainguardlangfuse-40
chainguardlangfuse-30
chainguardcommercial-gitlab-rails-ee-19.30
modelcontextprotocolclient2.0.0
chainguardcommercial-gitlab-rails-ee-fips-19.40
chainguardwazuh-dashboard0
wolfilangfuse-30

…and 3 more

Timeline

  • Oct 6, 2026 CVE Published
  • Oct 6, 2026 Coalition ESS Score
  • Oct 6, 2026 CVE Updated
  • Oct 7, 2026 EPSS Score
  • Oct 13, 2026 EPSS Score
  • Oct 20, 2026 EPSS Score
  • Oct 25, 2026 EPSS Score
  • Oct 29, 2026 EPSS Score
  • Oct 30, 2026 Security Advisory
Open in Interactive Console →
$ Console Community · 50/day Open console ›