Patch Ticker
EnglishEN
Elevated

Model Context Protocol Python SDK sends OAuth credentials to a server chosen by the MCP server

CVE-2026-115563

A Python program that links AI tools can leak login details to the wrong place.

CVE
CVE-2026-115563 (opens in a new tab)
Score
CVSS 7.5
First seen

Mitigation

Update to 2.2.0 on the 2.x line or 1.30.0 on the 1.x line. If you use ClientCredentialsOAuthProvider or PrivateKeyJWTOAuthProvider, also pass the issuer= option. Replace the deprecated RFC7523OAuthClientProvider with another provider. After updating, clear the stored OAuth client information once so the client registers again.

Update to at least the version for your product:

  • Model Context Protocol Python SDK 2.x 2.2.0 or later
  • Model Context Protocol Python SDK 1.x 1.30.0 or later

Summary

The OAuth client can send a client_secret, authorization code, PKCE code_verifier or client assertion to an authorization server chosen by an untrusted MCP server. HTTP clients using the OAuth providers are affected from 1.9.1 before 1.30.0 and from 2.0.0a1 before 2.2.0.

Affected when

  • HTTP client using an OAuth auth provider
  • Connects to an MCP server that is not trusted

Incidents by product: python-sdk · Model Context Protocol Python SDK

All Incidents of 2026-11-17

Read the advisory · github.com (opens in a new tab)