THE PERMISSION [LAYER]

AI agent incident

An OAuth flaw in the MCP Python SDK could enable account takeover

Reported · 1 source

What happened

Cycode reported an OAuth flaw in the MCP Python SDK that could enable account takeover on MCP servers built with it.

Why it matters

An SDK flaw is inherited by every server built on it, whether or not that team ever read the OAuth code. Taking over an agent identity means taking over everything it was trusted with, so check the SDK version your servers pin.

New incidents by email

Get incidents like this one in your inbox

New AI agent incidents are covered in the briefing, with what to check on the agents you already run. At least once a week, free.

You confirm by email. Unsubscribe in one click.

Sources

  1. Cycode MCP Python SDK OAuth flaw enabled account takeover

Background reading

What is an MCP gateway? An explainer on the problem behind this incident.

Cite or correct this record

“An OAuth flaw in the MCP Python SDK could enable account takeover.” The Permission Layer AI Agent Incident Database, https://thepermissionlayer.com/incidents/mcp-python-sdk-oauth-account-takeover/. Database updated November 10, 2026.

Every record traces to the dated sources above. If something here is wrong or missing, email editor@thepermissionlayer.com and it gets fixed. See this record in the full list.

The Permission Layer

Get the next incident like this explained

When an AI agent breaks out, leaks data or runs up a bill, the briefing covers what happened and what to check on the agents you already run. At least once a week, five-minute read, free.

You confirm by email. Unsubscribe in one click.