← All advisories
CVE-2026-109527highDenial of service2026-10-14

CVE-2026-109527: MCP Python SDK HTTP servers can be knocked offline with huge requests

MCP servers built with the official Python SDK read whole HTTP request bodies into memory with no size limit on the SSE message endpoint and OAuth routes. One large request can exhaust memory and take the server down, often with no login needed.

01.

What it is

GitHub advisory: “One large request grew the process’s memory by two to three times the size of the body, so a client that could reach the server over HTTP could exhaust its memory and take it offline, repeatedly.”

No credentials are needed against the OAuth endpoints (/token, /register, /revoke, /authorize) or against a server that does not require authentication, which is the default.

1.29.0 and 2.0.0 capped only the Streamable HTTP endpoint at 4 MiB; 1.29.1 and 2.1.0 extend the cap to every HTTP endpoint.

02.

How to check

  1. Affected: mcp (pip) below 1.29.1, and 2.0.0 to 2.0.1.
  2. Not affected: stdio-only servers, MCP clients, and servers behind a proxy that already caps request body size.
03.

How to fix

  1. Upgrade mcp to 1.29.1 (1.x) or 2.1.0 (2.x). There is no fixed 2.0.x release.
  2. If you can’t upgrade yet, put a reverse proxy with a request body limit in front of the server.
pip show mcp | grep Version
pip install -U "mcp>=1.29.1"
04.

Sources

More advisories for this tool
The weekly email

One email a week. Only what changed.

New advisories, CVEs and fixes for Lovable, Bolt, v0, Replit, Base44 and Cursor apps. No roundups of things you already read.

Free. The list is new, so the first issues go out once there are readers. Unsubscribe from any email in one click. We never sell or share addresses.