Skip to content
GitHub Security Advisories·Indexed by this site · Originally published· Event →· Its place in the scan record →SelectedAttention42

MCP Python SDK: OAuth client may send credentials to an authorization server selected by the MCP server

Model Context Protocol Python SDK: OAuth client could send credentials to an authorization server chosen by the MCP server

AI summary

The MCP Python SDK (mcp) discloses vulnerability CVE-2026-115563: its OAuth client does not validate the issuer of authorization server metadata on every discovery path, and stored or preconfigured client credentials are not bound to their owning authorization server, so a malicious or compromised MCP server can use this to direct client_secret, authorization codes, and PKCE code_verifier to a token endpoint of its choosing. Affected versions are 1.9.1 and above but before 1.30.0, and 2.0.0a1 and above but before 2.2.0; fixed versions are 1.30.0 (1.x) and 2.2.0 (2.x); the trigger precondition is that the application connects over HTTP to an MCP server that is not fully trusted, using OAuthClientProvider, ClientCredentialsOAuthProvider, etc. as authentication handlers.

Why it was selected

Teams using this SDK as an MCP client and holding OAuth credentials can check versions against the advisory and inspect issuer configuration and credential rotation.

Read originalgithub.com