MCP Python SDK vulnerability: issuer still must be passed after upgrade
Start here
In April 2026, researchers independently reported OAuth credential leakage vulnerabilities in the official MCP Python and TypeScript SDKs, both with a CVSS v3.1 score of 7.5: a malicious or compromised remote MCP server can abuse the OAuth discovery mechanism to redirect credentials belonging to other authorization servers to an attacker-controlled endpoint, potentially leaking client secrets, refresh tokens, authorization codes, PKCE verifiers and signed client assertions. The official advisory emphasizes that upgrading dependencies alone is not enough; applications must also explicitly configure issuer or expectedIssuer, and clean up or migrate stored credentials that lack issuer binding. Independent researcher 01rabbit tested and found that fixed versions 1.30.0 and 2.3.0 still send client secrets to a malicious authorization server when issuer= is not passed, while passing issuer= causes termination at the metadata retrieval stage; he also found that the deprecation warning in 1.30.0 is not shown by default when creating a provider within an application module. The GitHub security advisory discloses CVE-2026-115563, with affected versions 1.9.1 and above but before 1.30.0, and 2.0.0a1 and above but before 2.2.0, and fixed versions 1.30.0 and 2.2.0; the trigger precondition is that the application connects over HTTP to an MCP server that is not fully trusted, using OAuthClientProvider, ClientCredentialsOAuthProvider, etc. as authentication handlers.
Generated by AI from reports · Updated 9 days ago
Storyline
- · 3 reports· Attention44MCP TypeScript SDK fixes redirect and OAuth credential flaws
- · 1 reports· Attention42MCP TypeScript SDK cross-origin redirect leaks request headers and request body
- · 1 reports· Attention35MCP TypeScript SDK fixes task authorization vulnerability
- · 1 reports· Attention41MCP TypeScript SDK missing token audience validation
- · 2 reports· Attention41MCP TypeScript SDK exposed to memory exhaustion vulnerability
- · 1 reports· Attention45MCP TypeScript SDK cross-client message leakage vulnerability
- · 3 reports· Attention42
MCP Python SDK vulnerability: issuer still must be passed after upgradeThis event
Progress timeline
- GitHub Security AdvisoriesSelectedMCP Python SDK: OAuth client may send credentials to an authorization server selected by the MCP server
The MCP Python SDK (mcp) discloses vulnerability CVE-2026-115563: its OAuth client does not validate the issuer of authorization server metadata on every discovery path, and stored or preconfigured client credentials are not bound to their owning authorization server, so a malicious or compromised MCP server can use this to direct client_secret, authorization codes, and PKCE code_verifier to a token endpoint of its choosing. Affected versions are 1.9.1 and above but before 1.30.0, and 2.0.0a1 and above but before 2.2.0; fixed versions are 1.30.0 (1.x) and 2.2.0 (2.x); the trigger precondition is that the application connects over HTTP to an MCP server that is not fully trusted, using OAuthClientProvider, ClientCredentialsOAuthProvider, etc. as authentication handlers.
- QiitaSelectedIndependent researcher tests fix for MCP SDK OAuth vulnerability: credentials are still sent to a malicious authorization server when no issuer is passed
Independent researcher 01rabbit verified through hands-on testing that the OAuth credential vulnerability in the official MCP SDKs (Python GHSA-qx49-fqc8-xw99, TypeScript GHSA-6qxp-vccf-f47h, both CVSS 7.5) cannot be closed by upgrading alone: the destination to which client credentials are sent is specified by the MCP server via metadata, and in local reproductions the fixed versions 1.30.0 and 2.3.0 still sent the client secret to a malicious authorization server when issuer= was not passed, while passing issuer= caused the process to abort at the metadata retrieval stage. The author also found that the deprecation warning in 1.30.0 is not shown by default when a provider is created inside an application module, making residual risk hard to notice after upgrading.
- X@hackernoon· DiscussionRead the full story👇 https://t.co/ysYXs7XoZU(opens the original post in a new tab)
- HackerNoonSelectedThe MCP server selected the token endpoint, and the two official SDKs trusted it
In April 2026, researchers independently reported OAuth credential leakage vulnerabilities in the official MCP Python and TypeScript SDKs; both vulnerabilities have a CVSS v3.1 score of 7.5. A malicious or compromised remote MCP server can abuse the OAuth discovery mechanism to redirect credentials belonging to other authorization servers to an attacker-controlled endpoint. The root cause is that the SDK does not verify the binding between credentials and the selected authorization server, which may leak client secrets, refresh tokens, authorization codes, PKCE verifiers and signed client assertions. The official advisory emphasizes that upgrading dependencies alone is not enough; applications also need to explicitly configure issuer or expectedIssuer, and clean up or migrate stored credentials that lack issuer binding.
Related discussion
- Older than 72 hours · Not included in the 72-hour figures
- X@aburacadabra_MCP 파이썬 SDK로 클라이언트 만든 사람은 버전 확인 필요함 공식 mcp 패키지에서 OAuth 크리덴셜이 엉뚱한 서버로 넘어가는 취약점이 나왔음(CVE-2026-115563, High) 악성이거나 털린 MCP…(opens the original post in a new tab)
- X@saltrocklabsMCP Python SDK fix: unattended OAuth clients could hand a client secret or signed assertion to whatever auth server an…(opens the original post in a new tab)
- X@LhmismeI tested four MCP clients for OAuth issuer binding. None of them completes all three checks, and not one compares the i…(opens the original post in a new tab)
3 likes·Nov 3 21:42Collect
- X@hackernoonRead the full story👇 https://t.co/ysYXs7XoZU(opens the original post in a new tab)
- X@hackernoonI found OAuth credential exposure flaws in the official MCP Python and TypeScript SDKs. Why patching CVE-2026-115563 an…(opens the original post in a new tab)
1 likes·Nov 3 21:42Collect
Attention trend
New sources per day
- Nov 19: 1 new sources (0 outlets, 1 accounts)
- Nov 20: 2 new sources (1 outlets, 1 accounts)
- Nov 21: 0 new sources (0 outlets, 0 accounts)
- Nov 22: 0 new sources (0 outlets, 0 accounts)
- Nov 23: 0 new sources (0 outlets, 0 accounts)
- Nov 24: 0 new sources (0 outlets, 0 accounts)
- Nov 25: 0 new sources (0 outlets, 0 accounts)
- Nov 26: 0 new sources (0 outlets, 0 accounts)
- Nov 27: 0 new sources (0 outlets, 0 accounts)
- Nov 28: 0 new sources (0 outlets, 0 accounts)
- Nov 29: 0 new sources (0 outlets, 0 accounts)