✕ Beranda Langganan Per Project Proses Profil FAQ Co-Researcher Blog Carousel SaaS Hubungi
Artikel ini juga tersedia dalam Bahasa Indonesia. Baca versi Indonesia →

30+ CVEs in Two Months: Anatomy of the MCP Vulnerability Flood

30+ CVEs in Two Months: Anatomy of the MCP Vulnerability Flood

When a Young Protocol Meets Security Researchers

Anthropic introduced the Model Context Protocol (MCP) in late 2024 as a standard way to connect AI models to tools, files, and external services. Adoption was fast, and the attack surface grew faster than the defenses around it. Agent Wars (March 13, 2026) counted more than 30 CVEs filed against the MCP ecosystem in January and February 2026 alone, a figure the Cloud Security Alliance (CSA) guidance also cites.

This article dissects the recurring patterns behind that wave, why MCP servers are such attractive targets, what changed on the authorization side in the 2026 specification revision, and a hardening checklist you can apply today. To stay accurate, we only name CVEs that can be confirmed directly in the official CVE records.

Confirmed CVEs: One Real Example per Pattern

CVE Product Vulnerability class Score (CNA)
CVE-2025-6514 mcp-remote 0.0.5–0.1.15 OS command injection via authorization_endpoint CVSS 3.1: 9.6
CVE-2025-49596 MCP Inspector < 0.14.1 RCE through an unauthenticated proxy CVSS 4.0: 9.4
CVE-2025-53109 Filesystem server < 0.6.4 / 2025.7.01 Path validation bypass via symlinks CVSS 4.0: 7.3
CVE-2025-53110 Filesystem server < 0.6.4 / 2025.7.01 Path validation bypass via colliding prefix CVSS 4.0: 7.3

All four date from 2025, yet they became the blueprint for much of what was found in 2026.

The Patterns That Keep Repeating

1. Path traversal

According to figures Agent Wars summarised from a scan of 2,614 implementations, 82% of those handling file operations were vulnerable to path traversal. CVE-2025-53110 is the textbook case: the reference Filesystem server checked whether a path started with an allowed directory, so a similarly named sibling — say /data/allowed_evil against /data/allowed — slipped through. CVE-2025-53109 went further: a symlink inside an allowed directory could point to files outside it. This is the most common form of sandbox escape in MCP — a directory boundary that looks safe on paper but is validated with string comparison instead of a resolved path.

2. Command injection

Agent Wars reports that 43% of filed CVEs were exec and shell injection, typically from servers that thinly wrap a CLI tool and call exec() with unsanitised input. CVE-2025-6514 shows the client side is exposed too: mcp-remote passed the authorization_endpoint value from a remote server's OAuth metadata to the operating system's open() function without validation. Connecting to a malicious server was enough to run shell commands. The package had more than 437,000 downloads at disclosure.

3. Exposed developer tooling

CVE-2025-49596 shows debugging tools are part of the attack surface as well. Before 0.14.1, the MCP Inspector proxy did not authenticate requests from its client, so unauthenticated requests could launch MCP commands over stdio.

Why MCP Servers Are Such Easy Targets

An MCP server is fundamentally an execution bridge: it runs commands, reads files, and calls APIs on the user's behalf — often with personal tokens or credentials stored on a developer's machine. A single injection flaw means arbitrary code execution with that user's privileges.

Missing basics make it worse. Agent Wars reports that 38–41% of the 518 officially registered MCP servers offered no meaningful authentication, while CSA catalogued nearly 7,000 internet-exposed MCP servers, roughly half of them without authentication. CSA also points to prompt injection against the GitHub MCP server that was enabled by an overly broad personal access token.

The 2026 Spec Revision: What Changed in Authorization

The 2025-11-25 revision formalised OAuth 2.1 for remote MCP servers, made PKCE mandatory for public clients, and relied on authorization server metadata (RFC 8414) for discovery. The next revision, 2026-07-28, closes several gaps that map directly onto the attack patterns above:

  • iss validation (RFC 9207): authorization servers should include the iss parameter, and clients must validate it against the recorded issuer before redeeming the authorization code.
  • Credentials bound to the issuer: clients must key persisted credentials by issuer identifier, must not reuse them with another authorization server, and must re-register when the server changes.
  • application_type is required during Dynamic Client Registration, avoiding OpenID Connect redirect URI conflicts.
  • Dynamic Client Registration is deprecated in favour of Client ID Metadata Documents, though it remains available for backward compatibility.

The same revision also removes protocol-level sessions and the initialize handshake, and deprecates the Roots, Sampling, and Logging features. For server operators, that means: update your SDK, review your OAuth flow, and stop assuming session state exists.

Tool Descriptions Are Untrusted Input

This is the single most important lesson. Tool descriptions are sent by the server to the model and read as if they were instructions. Invariant Labs research cited by CSA shows that tool poisoning works because "tool descriptions are implicitly trusted": hidden instructions in a description can make the model exfiltrate message history — as in the WhatsApp MCP example — while the user sees normal behaviour. A poisoned description on one server can even influence how the model uses other servers.

Then there is the rug pull: a server is approved in its original form and later swaps its tool definitions. CSA recommends hashing descriptions at registration and comparing them every session, terminating the session on mismatch, requiring re-approval for any change, and scanning descriptions with tools such as mcp-scan in CI/CD.

MCP Server Hardening Checklist

  1. Minimal scope. Define scopes per tool, not per server. Use least-privilege service accounts, avoid broad personal access tokens, and keep access tokens to one hour at most with rotating refresh tokens.
  2. Allowlist tools and servers. Keep a registry of approved servers with version pinning and an SBOM. Enable only the tools you actually need.
  3. Process isolation. Block filesystem and outbound network access by default; open only read-only paths and approved endpoints. Resolve paths (including symlinks) before comparing them with the allowlist. Enforce CPU/memory quotas and timeouts.
  4. Never hand input to a shell. Spawn processes with argument arrays, validate every input, and treat metadata from remote servers — OAuth URLs included — as raw data.
  5. Audit logging. Record agent identity, tool name, redacted parameters, timestamp, status, and duration. Forward to a SIEM and retain for at least 90 days.
  6. Patch quickly. Make sure you run mcp-remote ≥ 0.1.16, MCP Inspector ≥ 0.14.1, and the Filesystem server ≥ 0.6.4 / 2025.7.01.

Conclusion

The MCP CVE flood does not mean the protocol is broken beyond repair; it means the basics — input validation, authentication, isolation — fell behind the pace of adoption. The patterns repeat and are preventable: unresolved paths, input passed to a shell, and blind trust in metadata. Treat every MCP server like third-party code running with your credentials, because that is exactly what it is.

References

Share Article