gbhackers.com·29 september 2026

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

Image for the article: Anthropic MCP Python SDK Flaw Enables OAuth Credential Theft and Account Takeover
Image via gbhackers.com

Security researchers disclosed a high-severity vulnerability in Anthropic’s Model Context Protocol (MCP) Python SDK, allowing malicious servers to steal OAuth credentials and take over user accounts. The flaw affects SDK versions 1.9.1 to 2.1.1 and exploits weaknesses in the OAuth discovery process. Attackers can redirect sensitive token-exchange data to their own endpoints, bypassing PKCE protections. Organizations should upgrade to versions 1.30.0 or 2.2.0 or later and rotate client secrets to mitigate the risk.