Skip to content
EventPast event

MCP Python SDK vulnerability: issuer still must be passed after upgrade

3 reports3 reporting sourcesLatest report

Start here

AI overview

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

Developments on the same subject and issue, from earliest to latest

7 events
  1. · 3 reports· Attention44
    MCP TypeScript SDK fixes redirect and OAuth credential flaws
  2. · 1 reports· Attention42
    MCP TypeScript SDK cross-origin redirect leaks request headers and request body
  3. · 1 reports· Attention35
    MCP TypeScript SDK fixes task authorization vulnerability
  4. · 1 reports· Attention41
    MCP TypeScript SDK missing token audience validation
  5. · 2 reports· Attention41
    MCP TypeScript SDK exposed to memory exhaustion vulnerability
  6. · 1 reports· Attention45
    MCP TypeScript SDK cross-client message leakage vulnerability
  7. · 3 reports· Attention42

    MCP Python SDK vulnerability: issuer still must be passed after upgradeThis event

Progress timeline

Nov 20
  1. GitHub Security AdvisoriesSelected
    MCP 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.

Nov 13
  1. QiitaSelected
    Independent 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.

Nov 2
  1. HackerNoonSelected
    The 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

Total 5 items

Attention trend

New sources per day

3 in 11 days·most 2 (Nov 20)·today 0

  • 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)

Hourly attention

No comparable trend data