Skip to content

An editorial team and a community building with AI

← All articles

News · Model Context Protocol / GitHub Security Advisories · 2 min read

Event date: · Published:

High-severity OAuth bug disclosed in MCP Python SDK

GitHub disclosed a CVSS 7.5 OAuth vulnerability (CVE-2026-115563) in the official Model Context Protocol Python SDK that lets malicious servers steal client credentials; fixed in versions 2.2.0 and 1.30.0.

GitHub Security Advisories disclosed a high-severity OAuth vulnerability in the official Python SDK for the Model Context Protocol on November 19, 2026, warning that a malicious or compromised MCP server can redirect a client's OAuth token requests to itself and steal its credentials. The flaw is detailed in the GitHub Advisory Database entry.

What the advisory covers

  • Tracked as GHSA-qx49-fqc8-xw99 and CVE-2026-115563, with a CVSS score of 7.5 (High).
  • Affects the pip package mcp in versions >=2.0.0a1 <2.2.0 and >=1.9.1 <1.30.0.
  • Fixed in versions 2.2.0 and 1.30.0.
  • Root cause: incomplete validation of the OAuth issuer field on the client side.
  • A malicious or compromised MCP server can redirect token-endpoint requests to itself, exposing client secrets, authorization codes, PKCE verifiers, or signed JWT assertions.

Why it matters for AI builders

The mcp package is the reference Python SDK underpinning many AI coding-agent and tool-calling integrations, so a credential-theft bug in its OAuth handling has a wide blast radius across the MCP ecosystem. Anyone whose agent or client connects over OAuth to third-party or self-hosted MCP servers should treat this as an urgent patch rather than a routine dependency bump.

Fix and next steps

Projects using the mcp pip package should upgrade to version 2.2.0 or 1.30.0, depending on which release line they track, since both carry the fix for the issuer validation gap. The advisory was published to the GitHub Advisory Database on November 19, 2026, as record GHSA-qx49-fqc8-xw99.


Sources

Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.

High-severity OAuth bug disclosed in MCP Python SDK | vibecoding.inc