Vulnerability  ·  2026-11-18

Official MCP Python SDK sends OAuth client credentials to an attacker-selected authorization server (CVE-2026-115563)

VulnerabilityHigh impactGlobalCVE-2026-115563
In the Model Context Protocol Python SDK from 1.9.1 to <1.30.0 and in 2.2.0, the OAuth client support in mcp.client.auth can send credentials to an authorization server chosen by an untrusted MCP server. The client providers (ClientCredentialsOAuthProvider, PrivateKeyJWTOAuthProvider, OAuthClientProvider, deprecated RFC7523OAuthClientProvider) forward client credentials, authorization code, PKCE verifier, or signed client assertion to an arbitrary server (CWE-345/CWE-522, CVSS 7.5). Fixed in 1.30.0 and 2.2.0.
This is the official Python SDK for MCP servers and clients, so it underpins a large share of agent integrations. A malicious or compromised MCP server can redirect the client's stored OAuth secret/refresh token to an attacker-controlled host — an MCP 'transport trust gap'. Because the fix requires also setting an explicit issuer binding, upgrading the version alone leaves many deployments exposed.
MCP client connects to a server that selects a rogue authorization endpoint; the client forwards its OAuth client credentials, authorization code/PKCE verifier, or signed assertion to that attacker host
Model Context Protocol Python SDK (mcp) 1.9.1 to <1.30.0 and 2.2.0
Upgrade to mcp 1.30.0 or 2.2.0+ AND set an explicit expected issuer on every OAuth provider holding a client secret/signing key; rotate any credentials already sent to an untrusted server
NVD CVE recordmodelcontextprotocol/python-sdk fix commitCSA transport-trust-gap analysis
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →