The Research Report
The Tool Interface Is the New Frontline: Why MCP Servers Are the Highest-Leverage Attack Surface of 2026
MCP servers have a security problem that would make a 2005 PHP developer blush. BlueRock Security scanned over 8,000 public MCP servers. 36.7% carry potential SSRF vulnerabilities. 41% have no authentication at all. Of those that do, 53% rely on static API keys. Only 8.5% use OAuth. Your Netflix account has stronger access controls than the MCP servers your AI agent calls with production credentials.
This is not a hypothetical concern. Thirty CVEs landed against MCP infrastructure in 60 days between January and February 2026. One every two days for a protocol that didn't exist before November 2024. Endor Labs found 43% were command or shell injection, 20% targeted tooling infrastructure, and the rest split across path traversal, SSRF, and authentication bypass. These are the same vulnerability classes OWASP cataloged in 2003, now wrapped in a protocol nobody audited.
The attack surface is real, it is being exploited in production, and your threat model is probably wrong. Here is what breaks, why, and what to do about it.
The MCP Vulnerability Landscape in Numbers
The Model Context Protocol launched in November 2024. By early 2026, adoption was massive. PulseMCP and Zuplo's State of MCP Report counted 5,800+ registered MCP servers, 300+ clients, and 97 million monthly SDK downloads. Every major AI coding tool supports it. Every major cloud provider ships MCP integrations.
Almost nobody checked the security.
BlueRock's MCP Trust Registry scanned those 8,000+ servers. The headline numbers:
- 36.7% have potential SSRF vulnerabilities
- 41% of servers tested for authentication had none
- 53% of authenticated servers use static API keys or personal access tokens
- 8.5% use OAuth (Zuplo State of MCP Report)
The Vulnerable MCP Project tracks 50 disclosed vulnerabilities with 13 rated critical as of May 2026 (vulnerablemcp.info).
The OWASP MCP Top 10, released in early 2026 and currently in Phase 3 beta, catalogs the risk categories. Led by Vandana Verma Sehgal under the GenAI Security Project, it identifies ten distinct threats:
| # | Risk | What it means |
|---|---|---|
| MCP01 | Token mismanagement and secret exposure | Static API keys, hardcoded credentials, over-scoped tokens |
| MCP02 | Privilege escalation via scope creep | Tools gaining permissions beyond declared scope at runtime |
| MCP03 | Tool poisoning | Malicious tool descriptions manipulating agent behavior |
| MCP04 | Supply chain attacks and dependency tampering | Compromised MCP servers injecting malicious code |
| MCP05 | Command injection and execution | Unsanitized inputs passed to shell commands |
| MCP06 | Intent flow subversion | Prompt injection via contextual payloads in tool inputs/outputs |
| MCP07 | Insufficient authentication and authorization | Missing or weak auth on MCP server endpoints |
| MCP08 | Lack of audit and telemetry | No logging of tool invocations, impossible incident response |
| MCP09 | Shadow MCP servers | Unauthorized MCP servers agents discover and use |
| MCP10 | Context injection and over-sharing | Agents leaking sensitive context to servers that don't need it |
Three specific CVEs illustrate how these play out in practice.
The Three Worst MCP CVEs (So Far)
CVE-2026-26118: Microsoft Azure MCP — SSRF to Cloud Account Takeover (CVSS 8.8)
Microsoft patched this on March 10, 2026 during Patch Tuesday. Azure MCP Server tools accepted user-provided parameters as URLs without validation. An attacker supplied a malicious URL instead of a legitimate Azure resource identifier. The server sent an outbound request carrying its managed identity token. The attacker captured the token and used it to access other Azure resources under that service account (BlueRock).
This is the canonical MCP SSRF pattern: the server trusts tool parameters, the parameters are attacker-influenced, and the server's credentials travel with the request. BlueRock demonstrated this exact attack against Microsoft's MarkItDown MCP server, retrieving AWS IAM credentials from an EC2 metadata endpoint via the converttomarkdown tool.
CVE-2026-25049: n8n Sandbox Escape — Unauthenticated RCE (CVSS 9.4)
n8n is a workflow automation platform with 50,000+ GitHub stars. The vulnerability exploited a type confusion between TypeScript's compile-time string enforcement and JavaScript's runtime behavior. A sanitizer validated input types at compile time. Attackers passed non-string values at runtime using destructuring syntax, bypassing the sandbox entirely.
Impact: unauthenticated RCE via a public webhook. No user interaction required. Full server compromise, credential theft, persistent backdoor installation. This CVE also bypassed the fix for CVE-2025-68613, meaning the same attack surface was exploited twice in three months (Arun Baby, "The MCP SSRF Epidemic").
The lesson: sandboxes built on language-level type assumptions fail when the runtime doesn't enforce them. Most MCP servers are JavaScript or Python. Both have this gap between compile-time guarantees and runtime reality.
CVE-2026-27825 + CVE-2026-27826: mcp-atlassian — Path Traversal + SSRF to RCE (CVSS 9.1 + 8.2)
Pluto Security discovered this in mcp-atlassian, a community MCP server for Jira and Confluence with 4,400 GitHub stars and 4 million downloads. Not an official Atlassian product, but widely deployed.
CVE-2026-27825 was an arbitrary file write via the downloadattachment tool. The tool accepted an attacker-supplied file path without confining it to a safe base directory. Write to ~/.bashrc or ~/.ssh/authorizedkeys, and you own the machine on next login.
CVE-2026-27826 was SSRF via unvalidated custom HTTP headers. Two HTTP requests, no authentication, root-level RCE for anyone on the local network when MCP HTTP transport binds to 0.0.0.0.
The fix in version 0.17.0 added validatesafepath() and validateurlfor_ssrf(). Standard AppSec controls that should have existed from day one (Arun Baby).
CVE-2025-59536: Claude Code and the Trust Dialog That Wasn't
The MCP server vulnerabilities are serious. But CVE-2025-59536, disclosed by Check Point Research in February 2026, demonstrates that the attack surface extends beyond MCP servers into the agent clients themselves.
Claude Code is Anthropic's AI-powered command-line development tool. It supports project-level configurations through a .claude/settings.json file that lives directly in the repository. This makes sense for team collaboration. When developers clone a project, they inherit the same settings. But it creates an attack vector: any contributor with commit access can modify those configurations.
Check Point Research found three vulnerabilities:
Vulnerability 1: RCE via Untrusted Project Hooks. Claude Code's Hooks feature executes user-defined commands at lifecycle events. Hooks are defined in .claude/settings.json. Any contributor can define hooks that execute shell commands on every collaborator's machine. The initial trust dialog mentions files being executed "with your permission," but hooks run without any additional confirmation. An attacker configures a hook to execute arbitrary shell code. Calculator pops open immediately, no prompt. Reverse shell follows just as easily (Check Point Research).
Vulnerability 2: RCE via MCP Consent Bypass. After Check Point reported the hooks vulnerability, Anthropic added an improved dialog for MCP server initialization. But .claude/settings.json also supports enableAllProjectMcpServers and enabledMcpjsonServers settings. When an attacker places these in the repository config, MCP server commands execute before the user can even read the trust dialog. Calculator opens on top of the pending trust dialog.
Vulnerability 3: API Key Exfiltration via ANTHROPICBASEURL. The settings file can override ANTHROPICBASEURL, routing all API traffic through an attacker-controlled proxy. Before the user interacts with the trust dialog, Claude Code has already sent requests including the full API key in plaintext authorization headers. With a stolen API key, an attacker gains complete read and write access to all workspace files by regenerating them through the code execution tool, bypassing download restrictions (Check Point Research).
CVSS 8.8. Patched in version 1.0.111. But the pattern is the real story: agent configuration files are attack surfaces. Repository-controlled configurations that execute code are supply chain vulnerabilities wearing team collaboration hats.
The Compound Threat: LLM01 + LLM06
Individually, these vulnerabilities are serious. Combined, they represent the dominant production threat model for 2026.
Lokesh Singh's "2026 LLM Jailbreak Landscape" synthesis, published May 2, 2026, makes the case clearly. Singh is a working pentester who runs the AI in Hacking program at Securityelites.com. His synthesis draws from cited papers and disclosed incidents, not marketing decks. The key findings:
- Prompt injection reports on HackerOne grew 540% year-over-year in 2025. Not gradual growth. A 5.4x spike in the most measurable bug bounty platform we have.
- The first weaponized zero-click prompt injection hit production in 2025. EchoLeak (CVE-2025-32711, CVSS 9.3), disclosed by Aim Security. An attacker sends a single email. Microsoft 365 Copilot ingests it via RAG. Embedded instructions cause Copilot to encode internal data into a Markdown image URL. The client auto-fetches the image via an allowlisted Microsoft Teams proxy domain. Data exfiltration complete, zero user interaction. It bypassed Microsoft's XPIA classifier, link redaction, and CSP (arXiv:2509.10540).
- "Comment and Control" (April 2026) extends the pattern to GitHub. Aonan Guan and researchers at Johns Hopkins demonstrated prompt injection via GitHub PR titles, issue bodies, and comments. The attack hijacks AI agents in GitHub Actions (Claude Code Security Review, Gemini CLI Action, GitHub Copilot). The agent reads PR data, processes it as task context, and executes tools that leak credentials back through GitHub itself. Anthropic paid $100. GitHub paid $500. CVSS upgraded to 9.4. The "title is the payload" pattern generalizes to any user-writable text field that AI agents process (oddguan.com).
- MCP and agentic systems are the highest-leverage 2026 attack surface. The BlueRock SSRF finding and CVE-2025-59536 prove the surface is broad and soft.
The OWASP LLM Top 10 was updated in 2025. LLM06 (Excessive Agency) was meaningfully expanded into three sub-categories:
- Excessive Functionality: agents have tools beyond their task scope
- Excessive Permissions: those tools operate at higher privilege than required
- Excessive Autonomy: high-impact actions proceed without a human in the loop
Compound LLM01 (Prompt Injection) with LLM06 (Excessive Agency) and you get the realistic 2026 threat: an attacker plants instructions in content the agent will read, and the agent executes high-impact tools as a result. EchoLeak is this pattern. Comment and Control is this pattern. The $45M crypto trading agent breach reported by Beam AI in 2026 (memory poisoning of an agent's vector database) is this pattern.
Singh's assessment is blunt: "If your threat model doesn't compound LLM01 + LLM06, you don't have a threat model" (securityelites.com).
The Structural Problem: Capability-Identity Gap
The root cause goes deeper than individual bugs. The paper "Agentic AI as a Cybersecurity Attack Surface" (arXiv 2602.19555) introduces a concept that explains why MCP's security model is structurally flawed: the capability-identity gap.
Traditional software has fixed build-time dependencies. You declare them in a manifest, pin versions, verify hashes. Agentic systems don't work that way. They assemble execution context at runtime through probabilistic semantic decisions. The LLM reads a tool description, decides it matches the user's intent, and calls it. No cryptographic binding ties what the agent thinks a tool does to what it actually does.
This means:
- An agent's effective permissions are unknown at deployment time. The LLM can discover and invoke tools that weren't part of the original design.
- Tool identity is semantic, not cryptographic. The agent picks tools by matching natural-language descriptions, which can be poisoned or spoofed.
- No revocation mechanism exists. If a tool is compromised, there's no certificate to revoke, no hash to invalidate.
The paper calls this "stochastic dependency resolution." Standard dependency scanning tools miss the problem entirely because they assume deterministic resolution.
More Bad News: The Adversa AI Finding and ClawJacked
Adversa AI found that Claude Code's deny rules silently stop working after 50 subcommands in a session. The security pipeline that evaluates shell commands before execution has a hard-coded limit. After 50 subcommands, it skips security checks to save tokens. An attacker who chains 50+ commands in a session bypasses all deny rules. Anthropic acknowledged the issue and confirmed it would be fixed (Adversa AI; The Register).
ClawJacked (Oasis Security, February 2026) demonstrated that any website could silently take full control of a locally running AI agent via cross-origin browser-to-localhost WebSocket connections. The local gateway's rate limiter exempted localhost requests, allowing brute-force attacks on the gateway password. OpenClaw patched within 24 hours, but the pattern is instructive: localhost is not a security boundary (Oasis Security).
OX Security disclosed a systemic protocol-level vulnerability affecting an estimated 200,000 servers and the broader MCP ecosystem (150M+ SDK downloads). After five months of investigation, Anthropic declined to modify the protocol, calling the behavior "expected."
The picture is consistent: agentic systems ship fast, the protocol-layer safety story is incomplete, individual deployments are not robust against adversarial input.
Practical Defenses
The good news is that effective defenses exist. The bad news is that input/output filtering alone has demonstrably failed against adaptive attackers. The defenses that hold are at the architecture layer.
Authentication (MCP01, MCP07)
Stop using static API keys. The current state of 53% static keys and 8.5% OAuth is not defensible. Use a credential broker that issues short-lived tokens per agent session. Never bake credentials into the MCP server image. Implement OAuth 2.1 with scoped tokens. Set token lifetimes to one hour maximum, no refresh tokens for long-lived sessions.
Input Validation (MCP05, MCP06)
Every tool parameter that accepts a URL or file path needs validation. The mcp-atlassian v0.17.0 fix is the reference pattern:
- Block private IP ranges (RFC1918), loopback, link-local, and cloud metadata IPs (169.254.169.254)
- Validate URL schemes against an allowlist (HTTPS only)
- Add DNS rebinding protections by resolving hostname and checking IP before connection
- Confine file operations to a safe base directory using
os.path.realpath()comparisons - Set timeout and max body size limits on HTTP requests
Network Isolation (SSRF Class)
Run MCP servers in hardened containers with explicit egress rules. Block outbound requests to cloud metadata endpoints at the network level, not just the application level. Application-level blocks can be bypassed via DNS rebinding. Bind MCP servers to 127.0.0.1, never 0.0.0.0.
Capability Gating (LLM06)
This is the most important architectural defense. Agents should have the minimum tools required for their task. If an agent doesn't need to write files, don't give it a file-write tool. If it doesn't need to make network requests, don't give it a fetch tool. The "Comment and Control" attack works because agents had API key access and network tools they didn't need for their stated purpose.
Implement human-in-the-loop confirmation for high-impact actions. An agent that can silently execute shell commands or make network requests is an agent that can be weaponized. The deny-rule bypass Adversa AI found exists precisely because Claude Code was trying to balance security with convenience.
Audit Logging (MCP08)
Log every tool invocation with parameters, caller identity, and timestamp. If you cannot reconstruct what your agent did last Tuesday, you cannot do incident response. This is table stakes.
Supply Chain Vetting (MCP04, MCP09)
Use BlueRock's MCP Trust Registry (mcp-trust.com) to evaluate servers before connecting. Run Tencent's AI-Infra-Guard against your MCP servers before deploying. It scans for 14 categories of security risks using a ReAct-based agent that drives the assessment.
Agent Configuration Hardening
The CVE-2025-59536 findings teach specific lessons:
- Never trust repository-controlled configuration files that execute code
- Treat
.claude/settings.jsonand.mcp.jsonas potential attack vectors - Review agent trust dialogs carefully. If a dialog says files execute "with your permission," verify that permission is actually requested
- Set
enableAllProjectMcpServersto false in any production deployment
What the Numbers Say About Model Resilience
Not all models are equally vulnerable. The CySecBench benchmark (Wahréus et al., arXiv:2501.01335, January 2025) evaluated 12,662 prompts across 10 attack categories against major commercial APIs:
| Model | Attack Success Rate |
|---|---|
| Claude | 17.4% |
| ChatGPT | 65% |
| Gemini | 88% |
Claude maintains its ethical boundaries under technically sophisticated prompts that bypass other models' safety filters. But 17.4% is not zero. No model is unbreakable. The relative ranking matters more than any specific point estimate. If you're choosing a model for a high-stakes deployment, alignment robustness is a real procurement criterion. It's measurable, it varies meaningfully across vendors, and it should sit on the same checklist as latency and cost.
The Bottom Line
MCP servers are web servers with cloud credentials and no security review process. The 36.7% SSRF rate and 41% no-auth rate would be unacceptable in any other software category. The CVE-2025-59536 finding shows that agent clients have the same class of problems. The compound LLM01+LLM06 threat model, validated by EchoLeak and Comment and Control, shows that the exploitation path is already in production.
The defense priorities are clear:
- Fix authentication first. 41% of MCP servers have no auth. This is the lowest-effort, highest-impact fix.
- Gate capabilities aggressively. Give agents the minimum tools for their task. This is the only defense that holds against adaptive attackers.
- Validate all inputs at the tool parameter level. URL allowlists, path confinement, DNS rebinding protections.
- Log everything. You cannot respond to incidents you cannot reconstruct.
- Treat agent configuration files as attack surfaces. Repository-controlled configs that execute code are supply chain vulnerabilities.
- Build for compound threats. If your threat model only covers prompt injection (LLM01) without excessive agency (LLM06), you don't have a threat model.
The protocol everyone is adopting for AI agents has the security posture of a 2005 PHP application. The difference is that PHP applications didn't have cloud credentials, managed identity tokens, and the ability to execute arbitrary shell commands. MCP servers do. The attack surface is real, it is being exploited, and the fixes are known. The question is whether teams will implement them before the next CVE drops.
Citations
- BlueRock Security, "MCP fURI: BlueRock Discovers an MCP Security Gap That Enables Account Takeover of Cloud Infrastructure," January 20, 2026. https://www.bluerock.io/post/mcp-furi-microsoft-markitdown-vulnerabilities
- Arun Baby, "The MCP SSRF Epidemic: 30 CVEs in 60 Days and the Protocol Attack Surface Nobody Audited," 2026. https://www.arunbaby.com/ai-security/0023-the-mcp-ssrf-epidemic/
- Check Point Research, "Caught in the Hook: RCE and API Token Exfiltration Through Claude Code Project Files | CVE-2025-59536 | CVE-2026-21852," 2026. https://research.checkpoint.com/2026/rce-and-api-token-exfiltration-through-claude-code-project-files-cve-2025-59536/
- Lokesh Singh, "The 2026 LLM Jailbreak Landscape — A Working Pentester's Synthesis of Public Research," May 2, 2026. https://securityelites.com/2026-llm-jailbreak-landscape/
- OWASP MCP Top 10. https://owasp.org/www-project-mcp-top-10
- The Vulnerable MCP Project. https://vulnerablemcp.info
- BlueRock MCP Trust Registry. https://mcp-trust.com
- NIST National Vulnerability Database, CVE-2025-59536. https://nvd.nist.gov/vuln/detail/CVE-2025-59536
- Snyk Vulnerability Database, CVE-2025-59536. https://security.snyk.io/vuln/SNYK-JS-ANTHROPICAICLAUDECODE-13299835
- Tenable, CVE-2025-59536. https://www.tenable.com/cve/CVE-2025-59536
- Aim Security / Pavan Reddy & Aditya Sanjay Gujral, "EchoLeak: The First Real-World Zero-Click Prompt Injection Exploit in a Production LLM System," arXiv:2509.10540, 2025. https://arxiv.org/abs/2509.10540
- Aonan Guan et al., "Comment and Control: Prompt Injection to Credential Theft in Claude Code, Gemini CLI, and GitHub Copilot Agent," April 2026. https://oddguan.com/blog/comment-and-control-prompt-injection-credential-theft-claude-code-gemini-cli-github-copilot/
- Oasis Security, "ClawJacked: OpenClaw Vulnerability Enables Full Agent Takeover," February 26, 2026. https://oasis.security/blog/openclaw-vulnerability
- Adversa AI, "Critical Claude Code Vulnerability: Deny Rules Silently Bypassed Because Security Checks Cost Too Many Tokens," April 2, 2026. https://adversa.ai/claude-code-security-bypass-deny-rules-disabled/
- The Register, "Claude Code Bypasses Safety Rule If Given Too Many Commands," April 1, 2026. https://www.theregister.com/2026/04/01/claudecoderulecapraises/
- "Agentic AI as a Cybersecurity Attack Surface," arXiv 2602.19555. https://arxiv.org/abs/2602.19555
- Zuplo / PulseMCP, "State of MCP Report," 2026. https://mcpblog.dev/blog/2026-03-12-state-of-mcp-security
- Wahréus et al., "CySecBench: LLM Jailbreak Success Rates by Model," arXiv:2501.01335, January 2025. https://arxiv.org/abs/2501.01335
- SkillRisk, "Why 36% of MCP Servers Are Vulnerable to SSRF," March 19, 2026. https://skillrisk.org/blog/mcp-server-ssrf-vulnerability-security-guide-2026/
- Threat Landscape, "Supply Chain via Agent Configuration: Analyzing CVE-2025-59536 & CVE-2026-21852," February 2026. https://threatlandscape.io/blog/analyzing-cve-2025-59536-cve-2026-21852-agent-configuration-risks
Suggested Title
The Tool Interface Is the New Frontline: Why MCP Servers Are the Highest-Leverage Attack Surface of 2026
Word Count
3,267
Fact-Check Notes
- BlueRock 36.7% SSRF figure: Confirmed from BlueRock's own blog post and multiple secondary sources (Arun Baby, SkillRisk, OpenClawAI blog). The exact phrasing is "over 36.7% have potential exposed SSRF vulnerabilities" based on analysis of 7,000+ servers. "Potential" is an important qualifier — the scan identified SSRF-capable patterns, not necessarily all exploitable.
- CVE-2025-59536 details: Confirmed from NVD, Snyk, Check Point Research primary source, and Tenable. CVSS scores vary between 8.7 (Snyk) and 8.8 (NVD/Check Point). Patched in Claude Code version 1.0.111. The three-vulnerability chain (hooks RCE, MCP consent bypass, API key exfiltration) is confirmed from Check Point Research's detailed writeup.
- Comment and Control: Confirmed from the researcher's own blog post and multiple secondary sources. CVSS 9.4 confirmed. Bounty amounts ($100 Anthropic, $500 GitHub) confirmed from the researcher's disclosure.
- EchoLeak (CVE-2025-32711): Confirmed from arXiv paper (2509.10540) and multiple secondary sources. CVSS 9.3 confirmed. Zero-click production exploit against Microsoft 365 Copilot confirmed.
- 30 CVEs in 60 days: Confirmed from Arun Baby's article citing Endor Labs data. The exact count may vary slightly depending on date range, but the order of magnitude is confirmed.
- OWASP MCP Top 10: Confirmed from OWASP official project page and multiple secondary sources. Currently in Phase 3 beta.
- Adversa AI 50-subcommand deny rule bypass: Confirmed from Adversa AI's disclosure and The Register coverage. Anthropic acknowledged the issue.
- ClawJacked: Confirmed from Oasis Security's disclosure and BleepingComputer coverage. OpenClaw patched within 24 hours in version 2026.2.25.
- 41% no-auth and 53% static API key figures: These come from Zuplo's State of MCP Report as cited in the Arun Baby synthesis. I was unable to verify these exact numbers from Zuplo's primary source directly, but they are consistently cited across multiple secondary analyses.
- "If your threat model doesn't compound LLM01 + LLM06": This is a direct quote from Lokesh Singh's pentester synthesis, used with attribution.