ZeroDay Brief
CVE-2026-104850

A malicious or compromised MCP server could name its own authorization server in its protected resource metadata.

CVSS
7.5High
Chance of exploitation (EPSS)
0.28%
Published
Oct 6, 2026
In the news
Not yet
More from this vendor

What to do

A serious security flaw in Modelcontextprotocol Typescript-sdk that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Affected versions
Modelcontextprotocol Typescript-sdk
>= 1.12.0, < 1.31.0; >= 2.0.0, < 2.2.0

Description

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.

CWE-345CWE-522

Affected products

Get alerts for these →

Timeline 3

Latest change: Tenable Container Security plugin 473469: SCA: security update for @modelcontextprotocol/client, @modelcontextprotocol/sdk (GHSA-6qxp-vccf-f47h) (Nov 28, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

References 4

  • github.com /modelcontextprotocol/typescript-sdk/commit/edd12e282620ebf770d67316f19cf91d4112a1bd
  • github.com /modelcontextprotocol/typescript-sdk/pull/2887
  • github.com /modelcontextprotocol/typescript-sdk/releases/tag/v2.2.0
  • github.com /modelcontextprotocol/typescript-sdk/security/advisories/GHSA-6qxp-vccf-f47h

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”