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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.32% (percentile 18, 2026-11-28)
- **CWE:** CWE-345, CWE-522
- **Aliases:** GHSA-qx49-fqc8-xw99
- **Published:** 2026-11-16T20:24:05.741Z
- **Modified:** 2026-11-19T22:45:41.000Z

## Who should check

- Projects that depend on PyPI package mcp (\>= 2.0.0a1, \< 2.2.0)
- Anyone running modelcontextprotocol python-sdk \>= 1.9.1, \< 1.30.0; \>= 2.0.0a1, \< 2.2.0

## 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.

## Affected and fixed versions

- PyPI `mcp`: affected \>= 2.0.0a1, \< 2.2.0; fixed 2.2.0, 1.30.0 (ghsa)
- modelcontextprotocol python-sdk: \>= 1.9.1, \< 1.30.0; \>= 2.0.0a1, \< 2.2.0 (cvelist)

## Technologies

MCP servers and SDKs, PyPI packages

## Mitigation

- Upgrade mcp to one of 2.2.0, 1.30.0 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-115563. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-115563.md
Affected: mcp >= 2.0.0a1, < 2.2.0
Fixed in: 2.2.0, 1.30.0

Steps:
1. Search this machine and project for mcp (PyPI), modelcontextprotocol python-sdk: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-115563 being exploited?

There is no confirmed exploitation: CVE-2026-115563 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-115563?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-115563?

mcp \>= 2.0.0a1, \< 2.2.0.

### Is there a fix for CVE-2026-115563?

Yes. Fixed in 2.2.0, 1.30.0. Upgrade mcp to one of 2.2.0, 1.30.0 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-115563?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-qx49-fqc8-xw99>
- patch: <https://github.com/modelcontextprotocol/python-sdk/pull/3398>
- patch: <https://github.com/modelcontextprotocol/python-sdk/pull/3431>
- patch: <https://github.com/modelcontextprotocol/python-sdk/pull/3435>
- patch: <https://github.com/modelcontextprotocol/python-sdk/commit/3eed7ce0a6aba76e8d94c4cfb9b266f41935392c>
- patch: <https://github.com/modelcontextprotocol/python-sdk/commit/979208c1157661eac0151f90974a1f96528003fa>
- patch: <https://github.com/modelcontextprotocol/python-sdk/commit/d060b36e1d095ef6e93e07ba5d59bb69b2ad449a>
- other: <https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.30.0>
- other: <https://github.com/modelcontextprotocol/python-sdk/releases/tag/v2.2.0>
- other: <https://nvd.nist.gov/vuln/detail/CVE-2026-115563>
- other: <https://github.com/advisories/GHSA-qx49-fqc8-xw99>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-115563>
- GitHub Advisory Database: CC-BY 4.0 <https://github.com/advisories/GHSA-qx49-fqc8-xw99> (license: <https://creativecommons.org/licenses/by/4.0/>)
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-115563> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-115563>
