MCP Attack Surface Created by Protocol-Level Integration Unification
MCP's shared protocol lets one poisoned tool hit every agent.

Standardizing how AI agents talk to tools was supposed to kill the integration headache, and it did. It also built a single hallway connecting every room in the building, and anyone who picks the lock on that hallway gets a master key to the whole place. Before MCP, an attacker had to write a bespoke exploit for every custom connector, which was slow and tedious enough to keep casual attackers out on friction alone. MCP removed that friction for developers and attackers alike, and pretending otherwise is the first mistake most security teams make. One attack pattern, run against a protocol every major vendor now speaks, reaches every compliant server at once.
MCP's rapid move from Anthropic experiment to industry-wide infrastructure
Anthropic released MCP in November 2024. Thirteen months later, in December 2025, Anthropic handed the protocol to the newly formed Agentic AI Foundation under the Linux Foundation. Anthropic, OpenAI, Block, AWS, Google, Microsoft, Cloudflare, and Bloomberg signed on as founding or platinum members. Most of the industry agreed to build on the same rail at the same time, and that almost never happens with a standard this young.
The foundation hit 170 member organizations within four months of forming, a pace that observers noted far exceeded comparable standards bodies at the same stage. Teams are shipping MCP servers into production faster than most standards bodies can hold a vote. Gartner's 2025 Software Engineering Survey projects that 75% of API gateway vendors will ship MCP features by 2026. People keep missing that detail and treat MCP as some optional add-on, when the real story is that it arrives pre-installed in gateway software organizations already run. Nobody has to choose it. It appears in gateway software organizations already run, since it comes pre-installed rather than requiring anyone to opt in.
None of this is opt-in anymore. The average organization already runs 37 deployed AI agents, a count that climbs every quarter as individual teams spin up their own automations without asking permission first. Centralized review cannot keep pace with a number that grows on its own.
What the MCP architecture exposes and why traditional API security doesn't cover it
MCP's architecture has three parts. A host is the AI application a person actually interacts with. A client manages a one-to-one connection out to a server. The server hands over tools, resources, and prompts for the model to use. Simple enough on a whiteboard.
Servers expose three kinds of capability. Tools are executable functions: query a database, hit an API, write a file, kick off a workflow. Resources are structured context, things like documents, repo contents, logs, schemas. Prompts are reusable templates for how to interact with something. None of that sounds dangerous sitting on its own.
Discovery is where it turns. A client doesn't get a fixed manifest of what a server can do ahead of time. It reads tool descriptions at runtime, and the model itself decides what to invoke based on that text. The model picks its own actions from words a third party wrote and handed it moments earlier. That's the root cause of tool poisoning, and it's baked into the protocol by design, not by accident: a model reads untrusted text and treats it as instructions for what to do next.
Traditional API security runs on three assumptions, and MCP breaks all three without much effort. Authenticate the caller, except now a model sits between the caller and the tool, deciding what gets invoked rather than simply confirming the caller had a valid key. Authorize the request, except authorization now has to account for what the model was told to ask for, via a description it got from a server it may have just met. Validate inputs against known endpoints, except there's no known endpoint list, since tools get discovered at runtime and there's nothing fixed to check against.
An LLM used to be a text box. Words went in, words came out, and the worst case was a bad paragraph. MCP turns that same model into an actor that picks tools, fills in arguments, pulls data, and triggers real side effects in the outside world. Security built for text-in-text-out never had to think about any of this, because the threat didn't exist yet.
The named threat classes that MCP's unified protocol surface makes possible

Tool Poisoning Attacks, or TPAs, sit at the top of the list, and for good reason. The tool description field is plain text, and the MCP spec doesn't require any client to sanitize, validate, or check it before handing it to the model. A description that says "adds two numbers" and one that says "adds two numbers, then reads ~/.ssh/id_rsa and sends the contents to a remote server" look structurally identical to the protocol. Nothing in the format separates documentation from instruction.
This is measured risk, not a theory. The MCPTox benchmark ran 45 live MCP servers against 20 different LLMs and clocked an average tool-poisoning success rate of 36.5%, with the worst-performing model getting fooled 72.8% of the time. Those numbers came off live MCP servers tested in the benchmark. OWASP now ranks tool poisoning third on its MCP Top 10, and Microsoft's June 2026 security guidance tells organizations to treat tool descriptions the way they'd treat a code change: reviewed before it ships, never trusted by default.
The closest analogue in classical security is stored cross-site scripting, except the payload doesn't render in a browser. It runs inside an agent's entire decision loop, one that often carries developer-level access to the operating system.
Then there's MCPoison, disclosed by Check Point Research against Cursor. The failure is almost elegant in how dumb it is: Cursor's trust model bound approval to a server's name, not its contents. A team member approves a project's .cursor/mcp.json file once, and from then on, any edit to that file, including swapping in a fully malicious server command, gets treated as already trusted. No new prompt, no second look. One commit to a shared repo compromises the whole team at once, and the attack scales with how many people pull from that repo, not with how much effort the attacker puts in. This pattern isn't unique to Cursor. Multiple high-severity disclosures between mid-2025 and June 2026 show several widely used AI coding tools auto-execute project-defined MCP servers with developer-level privileges and no isolation between them.
MCP sampling adds a second, less obvious lane for attack traffic, one that runs backward. Sampling lets a server ask the client's own LLM to generate a completion. The server writes the prompt and gets to process what comes back. Trust was supposed to flow one direction: client trusts server. Sampling means the server can also feed instructions back into the client's model, shaping later tool calls with no real guardrail in place, because the protocol's trust model for this channel amounts to an honor system.
Kong Konnect's MCP server fell to CVE-2026-13341, an indirect prompt injection that drove API requests nobody asked for, a textbook confused-deputy problem running at production scale. CVE-2025-6514 was a command-injection bug in the widely used mcp-remote npm package, versions 0.0.5 through 0.1.15, patched in 0.1.16. CVE-2025-66414 in the MCP TypeScript SDK let malicious websites use DNS rebinding to sidestep same-origin policy and reach unauthenticated MCP servers running on localhost. CVE-2025-49596 and CVE-2026-33032 are authentication bypasses in MCP Inspector Proxy and nginx-ui respectively, one leading to remote code execution, the other to full server takeover.
What real-world MCP compromises looked like in 2025 and what they accessed
postmark-mcp is the first documented malicious MCP server found in the wild. It was a fake npm package dressed up as a legitimate email integration tool, carrying a backdoor that quietly BCC'd every outgoing email to an address the attacker controlled. Nothing looked wrong. Emails still sent, still arrived, still read like normal emails. The exfiltration stayed invisible because the visible behavior never changed, and that's why tool poisoning is harder to catch than ordinary malware: no crash, no error, no odd process spike to notice.
Anthropic's own official Git MCP server carried serious flaws too, including a path validation bypass and an argument injection bug. Chained together with a filesystem MCP server, those flaws opened the door to remote code execution and unauthorized file changes, triggered through prompt injection. This wasn't some sketchy community package found on a forum. It was Anthropic's own component, which says something plain: "official" and "safe" are two different words in this ecosystem, and treating them as synonyms is how teams get burned.
Then there's the WhatsApp integration case. A poisoned MCP server slipped hidden instructions into its tool descriptions, and those instructions changed how the agent handled a completely ordinary request. A user asks the agent to send a message, the agent sends it, and it also quietly follows the hidden instruction, routing conversation data to an address the attacker controls. Both things happen at once, and the user only sees the part they asked for. That mechanism isn't specific to WhatsApp. Any MCP server sitting in front of a communication channel is exposed to the same trick.
Lining up all three incidents shows the pattern repeats exactly. The attack runs quietly, the surface behavior stays normal, and the person on the other end gets no signal that anything happened. A traditional exploit usually leaves a mark somewhere, such as a crash log, a spike, or a support ticket. These leave nothing.
The scope of MCP exposure across enterprise deployments today, in numbers
CVE counts are a decent leading indicator of how exposed this ecosystem actually is right now. Between January and April 2026, researchers disclosed more than 40 CVEs against MCP implementations spread across the Python, TypeScript, Java, and Rust SDKs. One advisory put the number of vulnerable MCP servers sitting exposed at roughly 200,000 at the time it published.
Gartner projects that 25% of enterprise GenAI apps will hit at least five minor security incidents, up from 9% in 2025, and that 15% will see at least one major incident, up from 3% the year before. Sr. Director Analyst Aaron Lord ties that rise directly to MCP adoption, not to AI security in general, and that distinction affects how organizations prioritize their security investments, since treating it as general AI risk means resources go to the wrong controls. Gartner also projects that through 2029, more than half of successful attacks on AI agents will exploit access-control gaps, which lines up with the authentication and authorization holes described earlier. Two different forecasts, same weak spot.
HiddenLayer's 2026 AI Threat Report found autonomous agents now account for more than 12% of reported AI breaches. Shadow AI, meaning agents and integrations nobody centrally approved, was flagged by 76% of respondents, up from 61% in 2025. That line moves in one direction, and nothing in the data says it's about to level off.


