GHSA-qx49-fqc8-xw99: Model Context Protocol Python SDK: OAuth client could send credentials to an authorization server chosen by the MCP server
- Identifiers
- CVE-2026-115563GHSA-qx49-fqc8-xw99
- Published
- Record updated
- Affected
- mcp >= 1.9.1, < 1.30.0, fixed in 1.30.0, released September 7, 2026, 73 days before disclosure
- mcp >= 2.0.0a1, < 2.2.0, fixed in 2.2.0, released September 7, 2026, 73 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.3%
Summary
The Model Context Protocol Python SDK's OAuth client support (mcp.client.auth) let a connected MCP server determine where the client's OAuth credentials were sent, because the authorization server issuer was not validated on every discovery path and stored client credentials were not bound to their authorization server. A malicious or compromised MCP server could redirect the client_secret, authorization code, PKCE code_verifier, or a private-key JWT assertion to a token endpoint it controls. Affected versions are 1.9.1 through 1.29.1 and 2.0.0 through 2.1.1, with the rating 6.5 for interactive OAuthClientProvider and higher for unattended providers.
Mitigation
Upgrade to mcp 2.2.0 (2.x) or 1.30.0 (1.x) or later. For ClientCredentialsOAuthProvider and PrivateKeyJWTOAuthProvider, also pass issuer= (for example issuer="https://auth.example.com"), which becomes required in 3.0. Replace the deprecated 1.x RFC7523OAuthClientProvider with one of those two providers. After upgrading, clear stored OAuth client information so the client registers again, or set issuer on manually stored records. If exposure is possible, rotate the client secret and revoke tokens at the authorization server. On earlier versions there is no workaround other than connecting OAuth-enabled clients only to MCP servers you trust.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- mcpPyPILLM dependency since 2024-11-20 · 62 tracked dependents
Topics
Related items
- HighCVE-2026-88968: Claude Code Edit tool symlink race overwrites files outside workspace on macOSSame vendor · NVD/CVE Database
- HighCVE-2026-88066: Claude Desktop on Windows git.exe execution via search pathSame vendor · NVD/CVE Database
- HighCVE-2026-62331: praktor path traversal via Telegram document upload filenamesSame vendor · NVD/CVE Database
- MediumGHSA-w4fh-qvv9-3v23: Model Context Protocol Python SDK: Server bearer-token authentication accepts tokens issued for a different resource serverSame vendor · GitHub Advisory Database
- MediumGHSA-5h93-6whr-6q8j: Model Context Protocol Python SDK: HTTP client transports followed cross-origin redirects carrying custom headers and bodiesSame vendor · GitHub Advisory Database