CVE-2026-115563: Model Context Protocol Python SDK: OAuth client could send credentials to an authorization server chosen by the MCP server
Published 2026-11-19 · Updated 2026-11-19 · Also known as GHSA-qx49-fqc8-xw99
Summary
The Model Context Protocol Python SDK fails to validate OAuth issuer metadata, potentially allowing malicious MCP servers to intercept client credentials. Users of the SDK as an MCP client using OAuth authentication providers should upgrade and configure mandatory issuer validation.
Who is affected
Affected deployments include applications using the SDK as an MCP client over HTTP with OAuth providers that connect to untrusted MCP servers. The vulnerability permits a malicious server to redirect authentication flows or spoof metadata, leading to the unauthorized disclosure of client secrets, authorization codes, or private key assertions.
Exploitability
The vulnerability is rated as High severity with a base score of 7.5, indicating it is remotely exploitable with low attack complexity and no required privileges or user interaction. Current exploit probability is low, with an EPSS score of 0.003 and no documented CISA Known Exploited Vulnerability status.
Remediation
- Upgrade to mcp version 2.2.0 (for 2.x users) or 1.30.0 (for 1.x users).
- Explicitly configure the 'issuer' parameter in ClientCredentialsOAuthProvider and PrivateKeyJWTOAuthProvider to bind credentials to the correct authorization server.
- Clear existing stored OAuth client registrations to force re-registration against the validated issuer.
- Rotate client secrets and revoke tokens if the client was previously connected to untrusted MCP servers.
How to check your project
- Check requirements.txt or poetry.lock to see if the 'mcp' package version is within the ranges 1.9.1-1.29.1 or 2.0.0-2.1.1.
- Inspect the codebase for the usage of OAuthClientProvider, ClientCredentialsOAuthProvider, PrivateKeyJWTOAuthProvider, or RFC7523OAuthClientProvider.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| PyPI | mcp |
>= 2.0.0a1, < 2.2.0 | 2.2.0 | python -m pip install 'mcp>=2.2.0' |
| PyPI | mcp |
>= 1.9.1, < 1.30.0 | 1.30.0 | python -m pip install 'mcp>=1.30.0' |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity | None |
| Availability | None |
FAQ
Does upgrading automatically secure all OAuth providers?
No. While upgrading to 1.30.0 or 2.2.0 provides the underlying validation logic, users of ClientCredentialsOAuthProvider and PrivateKeyJWTOAuthProvider must still manually provide the 'issuer' argument to complete the binding.
Are MCP servers built with this SDK also vulnerable?
No. The vulnerability specifically affects the SDK when used as an MCP client, not when used to build MCP servers.
What happens if I continue using an older version without the 'issuer' configuration?
You remain vulnerable to credential interception if the client connects to a malicious MCP server, as the SDK will continue to follow whichever authorization server the server advertises.
Original advisory description
References
- WEB https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-qx49-fqc8-xw99
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-115563
- WEB https://github.com/modelcontextprotocol/python-sdk/pull/3398
- WEB https://github.com/modelcontextprotocol/python-sdk/pull/3431
- WEB https://github.com/modelcontextprotocol/python-sdk/pull/3435
- WEB https://github.com/modelcontextprotocol/python-sdk/commit/3eed7ce0a6aba76e8d94c4cfb9b266f41935392c
- WEB https://github.com/modelcontextprotocol/python-sdk/commit/979208c1157661eac0151f90974a1f96528003fa
- WEB https://github.com/modelcontextprotocol/python-sdk/commit/d060b36e1d095ef6e93e07ba5d59bb69b2ad449a
- PACKAGE https://github.com/modelcontextprotocol/python-sdk
- WEB https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.30.0
- WEB https://github.com/modelcontextprotocol/python-sdk/releases/tag/v2.2.0
Source records: GHSA-qx49-fqc8-xw99 (OSV.dev) · EPSS by FIRST, 2026-11-21.