CVE-2026-115563
High 7.5No known exploitationFix availableModel Context Protocol Python SDK: OAuth client could send credentials to an authorization server chosen by the MCP server
Vendor advisory: GHSA-qx49-fqc8-xw99
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 26% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-345, CWE-522
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| modelcontextprotocol | python-sdk | >= 1.9.1, < 1.30.0 | Not documented | CVE Program |
| modelcontextprotocol | python-sdk | >= 2.0.0a1, < 2.2.0 | Not documented | CVE Program |
| pip | mcp | from 1.9.1 before 1.30.0 | 1.30.0 | GitHub Advisory Database |
| pip | mcp | from 2.0.0a1 before 2.2.0 | 2.2.0 | GitHub Advisory Database |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- GitHub Advisory GHSA-qx49-fqc8-xw99 (opens in a new tab)github-advisory
- https://github.com/modelcontextprotocol/python-sdk/commit/3eed7ce0a6aba76e8d94c4cfb9b266f41935392c (opens in a new tab)x_refsource_misc
- https://github.com/modelcontextprotocol/python-sdk/commit/979208c1157661eac0151f90974a1f96528003fa (opens in a new tab)x_refsource_misc
- https://github.com/modelcontextprotocol/python-sdk/commit/d060b36e1d095ef6e93e07ba5d59bb69b2ad449a (opens in a new tab)x_refsource_misc
- https://github.com/modelcontextprotocol/python-sdk/pull/3398 (opens in a new tab)x_refsource_misc
- https://github.com/modelcontextprotocol/python-sdk/pull/3431 (opens in a new tab)x_refsource_misc
- https://github.com/modelcontextprotocol/python-sdk/pull/3435 (opens in a new tab)x_refsource_misc
- https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.30.0 (opens in a new tab)x_refsource_misc
- https://github.com/modelcontextprotocol/python-sdk/releases/tag/v2.2.0 (opens in a new tab)x_refsource_misc
- https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-qx49-fqc8-xw99 (opens in a new tab)x_refsource_confirm