Skip to content

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

HighCVSS 7.5 EPSS 0.33%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

Description

The Model Context Protocol Python SDK is the official Python SDK for Model Context Protocol servers and clients. From 1.9.1 until 1.30.0 and 2.2.0, OAuth client support in mcp.client.auth can send credentials to an authorization server chosen by an untrusted MCP server. ClientCredentialsOAuthProvider and PrivateKeyJWTOAuthProvider cannot identify the authorization server that owns their credentials. Affected HTTP clients using those providers, OAuthClientProvider, or the deprecated 1.x RFC7523OAuthClientProvider can disclose a client_secret, authorization code, PKCE code_verifier, or signed client assertion. MCP servers, stdio clients, and clients that attach their own tokens or headers are not affected. Interactive OAuthClientProvider use requires a person to start sign-in, while the unattended providers do not. For ClientCredentialsOAuthProvider and PrivateKeyJWTOAuthProvider, callers must configure issuer= after upgrading because omission still follows the MCP server's advertised authorization server, and the deprecated RFC7523OAuthClientProvider must be replaced because it has no issuer option. A stored client registration without an issuer remains unbound after upgrading, so stored OAuth client information must be cleared once to register again or a manually pre-registered record must be updated with its issuer. This issue is fixed in versions 1.30.0 and 2.2.0.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
pypi mcp(PyPI) = 1.9.1; = 1.9.2; = 1.9.3; = 1.9.4 +48 more 1.30.0, 2.2.0 Fixed
modelcontextprotocol python-sdk = >= 1.9.1, < 1.30.0; = >= 2.0.0a1, < 2.2.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
modelcontextprotocol python-sdk = >= 1.9.1, < 1.30.0 No fix listed
modelcontextprotocol python-sdk = >= 2.0.0a1, < 2.2.0 No fix listed
pypi mcp(PyPI) >= 2.0.0a1, < 2.2.0 2.2.0
pypi mcp(PyPI) >= 1.9.1, < 1.30.0 1.30.0
pypi mcp(PyPI) = 2.0.0 No fix listed
pypi mcp(PyPI) = 2.0.0a1 No fix listed
pypi mcp(PyPI) = 2.0.0a2 No fix listed
pypi mcp(PyPI) = 2.0.0a3 No fix listed
pypi mcp(PyPI) = 2.0.0b1 No fix listed
pypi mcp(PyPI) = 2.0.0b2 No fix listed
pypi mcp(PyPI) = 2.0.0rc1 No fix listed
pypi mcp(PyPI) = 2.0.1 No fix listed
pypi mcp(PyPI) = 2.1.0 No fix listed
pypi mcp(PyPI) = 2.1.1 No fix listed
pypi mcp(PyPI) = 1.10.0 No fix listed
pypi mcp(PyPI) = 1.10.1 No fix listed
pypi mcp(PyPI) = 1.11.0 No fix listed
pypi mcp(PyPI) = 1.12.0 No fix listed
pypi mcp(PyPI) = 1.12.1 No fix listed
pypi mcp(PyPI) = 1.12.2 No fix listed
pypi mcp(PyPI) = 1.12.3 No fix listed
pypi mcp(PyPI) = 1.12.4 No fix listed
pypi mcp(PyPI) = 1.13.0 No fix listed
pypi mcp(PyPI) = 1.13.1 No fix listed
pypi mcp(PyPI) = 1.14.0 No fix listed
Show 29 more
ProductAffected versionsFixed in
pypi mcp(PyPI) = 1.14.1 No fix listed
pypi mcp(PyPI) = 1.15.0 No fix listed
pypi mcp(PyPI) = 1.16.0 No fix listed
pypi mcp(PyPI) = 1.17.0 No fix listed
pypi mcp(PyPI) = 1.18.0 No fix listed
pypi mcp(PyPI) = 1.19.0 No fix listed
pypi mcp(PyPI) = 1.20.0 No fix listed
pypi mcp(PyPI) = 1.21.0 No fix listed
pypi mcp(PyPI) = 1.21.1 No fix listed
pypi mcp(PyPI) = 1.21.2 No fix listed
pypi mcp(PyPI) = 1.22.0 No fix listed
pypi mcp(PyPI) = 1.23.0 No fix listed
pypi mcp(PyPI) = 1.23.1 No fix listed
pypi mcp(PyPI) = 1.23.2 No fix listed
pypi mcp(PyPI) = 1.23.3 No fix listed
pypi mcp(PyPI) = 1.24.0 No fix listed
pypi mcp(PyPI) = 1.25.0 No fix listed
pypi mcp(PyPI) = 1.26.0 No fix listed
pypi mcp(PyPI) = 1.27.0 No fix listed
pypi mcp(PyPI) = 1.27.1 No fix listed
pypi mcp(PyPI) = 1.27.2 No fix listed
pypi mcp(PyPI) = 1.28.0 No fix listed
pypi mcp(PyPI) = 1.28.1 No fix listed
pypi mcp(PyPI) = 1.29.0 No fix listed
pypi mcp(PyPI) = 1.29.1 No fix listed
pypi mcp(PyPI) = 1.9.1 No fix listed
pypi mcp(PyPI) = 1.9.2 No fix listed
pypi mcp(PyPI) = 1.9.3 No fix listed
pypi mcp(PyPI) = 1.9.4 No fix listed

References