CVE-2026-115563
CVE-2026-115563 · Model Context Protocol Python SDK: OAuth client could send credentials to an authorization server chosen by the MCP server
CVSS 7.5 · High · EPSS 0.3% · Public exploit · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- python-sdkNo fix published
- mcp PyPIUpdate to 2.2.0
Check the installed version:
pip show mcpAssess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Stack: python
Affected products and versions
python-sdk
- Versions
- >= 1.9.1, < 1.30.0: Affected
- >= 2.0.0a1, < 2.2.0: Affected
No fix published
mcp PyPI
- Versions
- 2.0.0
- 2.0.0a1
- 2.0.0a2
- 2.0.0a3
- 2.0.0b1
- 2.0.0b2
All versions (10)
- 2.0.0rc1
- 2.0.1
- 2.1.0
- 2.1.1
- Affected ranges
- ECOSYSTEM: ≥ 2.0.0a1, < 2.2.0
Update to 2.2.0
mcp PyPI
- Versions
- 1.10.0
- 1.10.1
- 1.11.0
- 1.12.0
- 1.12.1
- 1.12.2
All versions (40)
- 1.12.3
- 1.12.4
- 1.13.0
- 1.13.1
- 1.14.0
- 1.14.1
- 1.15.0
- 1.16.0
- 1.17.0
- 1.18.0
- 1.19.0
- 1.20.0
- 1.21.0
- 1.21.1
- 1.21.2
- 1.22.0
- 1.23.0
- 1.23.1
- 1.23.2
- 1.23.3
- 1.24.0
- 1.25.0
- 1.26.0
- 1.27.0
- 1.27.1
- 1.27.2
- 1.28.0
- 1.28.1
- 1.29.0
- 1.29.1
- 1.9.1
- 1.9.2
- 1.9.3
- 1.9.4
- Affected ranges
- ECOSYSTEM: ≥ 1.9.1, < 1.30.0
Update to 1.30.0
Original sources
- https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-qx49-fqc8-xw99
- https://github.com/modelcontextprotocol/python-sdk/pull/3398
- https://github.com/modelcontextprotocol/python-sdk/pull/3431
- https://github.com/modelcontextprotocol/python-sdk/pull/3435
- https://github.com/modelcontextprotocol/python-sdk/commit/3eed7ce0a6aba76e8d94c4cfb9b266f41935392c
- https://github.com/modelcontextprotocol/python-sdk/commit/979208c1157661eac0151f90974a1f96528003fa
- https://github.com/modelcontextprotocol/python-sdk/commit/d060b36e1d095ef6e93e07ba5d59bb69b2ad449a
- https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.30.0
- https://github.com/modelcontextprotocol/python-sdk/releases/tag/v2.2.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-115563