Tia N.List

Reported by 4 outlets

MCP Python SDK OAuth Flaw Lets Malicious Servers Steal Credentials and Take Over Accounts

hot0.0
Why this score
Breadth
2.00 / 2.0 · 4 sources
Authority
1.80 / 2.0 · best outlet weight
Severity
0.50 / 5.0 · CVSS + content signals
Velocity
0.00 / 2.0 · updates in 48h
Pickup speed
0.59 / 0.6 · time to second source
Recency
× 0.00 temporal multiplier
Community
+ 0.00 / 1.5 · reddit signal
Score
0.0 / 10 = base × recency + community
cyberpress.orggbhackers.comthehackernews.comcycode.com desk first seen 61d ago

Desk analysis

Cycode researchers found a high-severity OAuth flaw in Anthropic's official MCP Python SDK, versions 1.9.1 through 2.1.1, affecting HTTP-based MCP clients. A malicious MCP server can return a 404 during authorization-server discovery to force the SDK down an unsafe fallback that accepts OAuth metadata straight from the server without validating the issuer. The attacker supplies metadata impersonating a real provider such as Okta, Google, or Microsoft Entra ID while pointing the token endpoint at infrastructure they control, capturing client secrets, authorization codes, and PKCE proof keys. The victim may still see a genuine provider login page, which makes the theft hard to spot.

Any deployment where users connect MCP clients to untrusted servers should treat this as account-takeover risk and upgrade past the vulnerable range. Watch for the patched release details, CISA or vendor severity confirmations, and any evidence that public MCP servers abused the pattern before disclosure.

Timeline

  1. original reporting

    MCP Python SDK OAuth Flaw Lets Malicious Servers Steal Credentials and Take Over Accounts

    cyberpress.org · 61d ago · September 29th, 2026

    A newly disclosed high-severity OAuth vulnerability in Anthropic’s official Model Context Protocol (MCP) Python SDK could allow a malicious MCP server to steal authentication material and take over user accounts. The flaw affects HTTP-based MCP clients using vulnerable SDK releases and OAuth providers, enabling attackers to obtain client secrets, authorization codes, and PKCE proof keys. The issue stems from a weakness in the SDK’s OAuth discovery logic. When an MCP client connects to a server requiring authentication, it must discover the legitimate authorization server and validate its identity before sending sensitive OAuth data. MCP Python SDK OAuth Flaw In vulnerable versions, an attacker-controlled MCP server can intentionally return a 404 response during modern authorization-server discovery, forcing the SDK into an unsafe fallback path. On that path, the SDK accepts OAuth configuration supplied directly by the MCP server without validating the authorization server’s issuer. The attacker can provide metadata that claims to belong to a legitimate identity provider, such as Okta, Google, or Microsoft Entra ID , while specifying an attacker-controlled token endpoint. The attack is particularly deceptive because the victim can still be shown a real login page hosted by the legitimate identity provider. After the user authenticates, the SDK receives a valid authorization code. However, instead of sending that code to the legitimate provider’s token endpoint, the vulnerable

  2. update from gbhackers.com

    Anthropic MCP Python SDK Flaw Enables OAuth Credential Theft and Account Takeover

    gbhackers.com · 61d ago · September 29th, 2026

    Research from Cycode […] The post Anthropic MCP Python SDK Flaw Enables OAuth Credential Theft and Account Takeover appeared first on GBHackers Security | #1 Globally Trusted Cyber Security News Platform .

  3. update from thehackernews.com

    Malicious MCP servers can trick apps using the MCP Python SDK into revealing OAuth credentials. Update to version 1.30.0+ for security. # Cy

    thehackernews.com · 57d ago · October 3rd, 2026

    Malicious MCP servers can trick apps using the MCP Python SDK into revealing OAuth credentials. Update to version 1.30.0+ for security.

  4. update from cycode.com

    An auth check that only runs on the happy path is not a check. In the MCP Python SDK, a malicious server answers OAuth discovery with a 404,

    cycode.com · 49d ago · October 11th, 2026

    An auth check that only runs on the happy path is not a check.

  5. update from cycode.com

    One 404 was enough to steal an MCP client's OAuth secret. In the MCP Python SDK before 1.30.0 and 2.2.0, a malicious server could fail the f

    cycode.com · 46d ago · October 14th, 2026

    One 404 was enough to steal an MCP client's OAuth secret.

Covered in

digest 2026-10-12

Source on GitHub