The missing size limit: how one design gap became the MCP ecosystem's 2026 DoS class
November 8, 2026
In 2026, nine major MCP SDKs were fixed for an unbounded request body flaw that could let unauthenticated requests exhaust server memory. Here is what happened and what it means for agent security.

TL;DR: A single unbounded request body design flaw affected nine major MCP SDKs throughout 2026, exposing servers to denial-of-service attacks, and highlighting why continuous validation matters for every layer of the AI stack.
If you have built an AI agent recently, you have probably encountered the Model Context Protocol, or MCP. It is the standard way for an agent to find and use tools, from code interpreters to database connectors. In 2026, the ecosystem was rocked by a class of vulnerabilities that affected nearly every major MCP SDK. The issue was simple in concept: server processes could be forced to hold request bodies in memory with no upper bound, allowing a single unauthenticated message to balloon consumption and crash the service. The fixes arrived throughout the year, often quietly, without fanfare or advisory. For teams relying on MCP to power their agents, the episode is a reminder that infrastructure security deserves the same attention as the skills and models sitting above it.
How the flaw worked
The Model Context Protocol moves data between an agent and its tools using HTTP transports, including Streamable HTTP and Server-Sent Events. In a typical flow, the server reads an incoming request body before checking who sent it or what permissions they have. For several SDK implementations, the code that read the body had no size cap. A configuration value might have existed on paper, a maxMessageSize setting, but it was never wired into the actual read path. The result was that a client could send a large, or even endless, stream of data, and the server would keep allocating memory to hold it. Because the read happened before authentication, an attacker did not need valid credentials to trigger the condition. The vulnerability class was given a CVSS score of 8.7 for the initial report, placing it in the high severity range. The fix, across all affected projects, was to introduce a default body size cap, typically set at 4 mebibytes. The pattern repeated across the TypeScript, Go, Ruby, PHP, Rust, Python, and Java SDKs, suggesting a shared design assumption rather than isolated bugs.
A year of quiet fixes
The first report arrived in April 2026, when a researcher identified the flaw in the mcp-framework TypeScript SDK. The issue was that chunks were concatenated with no size limit, despite a configuration value that should have enforced one. Between April and June, the same pattern turned up in Google's MCP Toolbox for Databases, which was fixed in June without a CVE or advisory. In July, the Go SDK quietly added a body cap, noted only as OOM protection in the release notes. Ruby followed in July with CVE-2026-67432, where a 512 megabyte POST grew a worker process from 44 megabytes to 1.66 gigibytes before the fix capped it at 4 mebibytes. August saw PHP and Java SDKs addressed on the same day. September brought the Rust SDK, rmcp, into the tally. October was the busiest month: the Python SDK received CVE-2026-109527 with a CVSS of 7.5, and the Java SDK received CVE-2026-108395, both in the reference SDKs that together serve close to half a billion downloads monthly. TypeScript received two advisories in October, CVE-2026-111768 and a follow-up. In total, at least nine independent projects shared the identical root cause, a fact that points to a systemic gap in how the transport layer was designed.
Why this matters for agent skills
The research that inspired this coverage found that roughly a quarter of published agent skills carry at least one vulnerability. The MCP DoS class is a different layer of the stack, it is not about a skill's logic, but about the transport that moves data to and from the agent. Still, the pattern is the same: a design assumption that proved false, and a lack of visibility for teams trying to keep their stacks safe. Skills that claim to be safe may rely on a transport that is vulnerable. Tools connected via MCP may be exposed to DoS if the server has not been patched. The episode is a case study in why the industry is moving toward continuous validation rather than trusting documentation or release notes at face value.
SkillzBench and the Verify pillar
SkillzBench was built precisely to address these kinds of gaps. The platform's Verify pillar continuously crawls and deduplicates skills from GitHub, pins every version to a commit SHA, and runs security scans, license checks, and quality judgments. But the lesson extends beyond skills: the MCP transport flaw shows that the infrastructure an agent connects to must be validated too. SkillzBench's free MCP connector is itself part of the ecosystem, and the platform tracks upstream changes, re-scans when dependencies shift, and notifies users if a skill or transport changes its risk profile. Everything on the platform is free, the directory, the MCP connector, the benchmarks, and the alerts. There is no charge to users, and ad revenue never influences the trust scores or listings. For teams that want to know which skills are safe and which transports have been hardened, SkillzBench provides the data, updated continuously.
The bigger picture: verifying the whole stack
The 2026 MCP vulnerability class is a reminder that no layer of an AI stack is immune to design flaws. The A2A protocol, which enables agents to talk to other agents, and MCP, which connects agents to tools, are both essential to the multi-agent era. But interoperability brings interdependency. A vulnerability in the transport layer can affect every agent that relies on it, just as a vulnerable skill can affect every task it is asked to perform. The solution is not to avoid these standards, but to test them, scan them, and keep them current. SkillzBench's Stay current pillar tracks upstream changes, re-benchmarks when models shift, and notifies users when a skill's benchmark lift changes. The goal is to give teams the information they need to make informed decisions, whether they are choosing a skill, a tool, or a transport.
Bottom line
The 2026 MCP unbounded-body class will likely go down as one of the year's most significant infrastructure security stories. What makes it notable is not just the number of affected projects, but the speed and silence with which fixes were deployed. Many teams will have applied updates without knowing they were patching a DoS class vulnerability. For anyone building or running AI agents, the takeaway is clear: assume nothing in the transport layer by default. Validate, scan, and keep current. Platforms that offer continuous verification, like SkillzBench, give users a head start on separating the safe from the risky, but the habit of checking upstream changes should be standard practice across the ecosystem.
Key takeaways
- The Model Context Protocol connects agents to tools, but 2026 revealed a transport-level flaw that could let unauthenticated requests exhaust server memory.
- Nine SDKs across TypeScript, Go, Ruby, PHP, Rust, Python, and Java shipped fixes for the unbounded-body vulnerability, often without public advisories or CVEs.
- The root cause: request bodies were read into memory before any authentication check, with no size limit enforced, allowing a single malformed request to crash a server.
- SkillzBench's Verify pillar automatically scans and validates every skill, pinning versions to commit SHAs and running security checks so users avoid hidden infrastructure risks.
- The findings reinforce that the whole agent supply chain, skills, tools, and transports, needs active verification, not passive trust.