Skip to content

Last update 

OWASP MCP Top 10

MCP security incidents

Disclosed MCP incidents and research mapped to OWASP MCP Top 10 risks, advisories, and vendor responses.

The Model Context Protocol (MCP) incidents below stem from implementation bugs, malicious packages, or misconfiguration, not Invariant Labs framed tool poisoning as a weakness in MCP mechanics, but no specification advisory or CVE classifies it as a protocol bug.. Open each card's primary source, then read the linked OWASP MCP Top 10, 2025 edition risk pages.

Entry selection criteria

Every card meets 2 criteria:

  • Primary source. Each cites at least 1 CVE, GitHub Security Advisory (GHSA), OSV malware record, vendor bulletin, or researcher demonstration, plus any vendor response.
  • Cause and evidence. Each names 1 cause: client bug, server bug, supply chain attack, or misconfiguration. Each adds an evidence label: exploited in the wild, disclosed vulnerability, researcher demonstration against a real product, or research proof of concept. Research cards show only the research proof of concept label.

This guide's maintainers assign all OWASP MCP Top 10 mappings on this page because advisories omit OWASP IDs. No entry maps primarily to MCP08 Lack of Audit and Telemetry, MCP09 Shadow MCP Servers, or MCP10 Context Injection and Over-Sharing. Those appear only as secondary mappings for related control gaps.

Azure mitigations are maintainer suggestions that limit exposure or damage. They never replace the source remedy: a fixed version, package removal, or configuration change. Cards without an Azure mitigations line have no Azure mitigation.

Disclosed incidents and research

Dates mark the first public advisory or researcher post, oldest first.

Invariant Labs tool poisoning, rug pull, and shadowing proof of concept

· Research proof of concept

In a controlled Cursor test, not an in-the-wild attack, Invariant Labs hid instructions in a tool description. Cursor read an SSH key and sent it in a tool parameter. The post showed tool shadowing, where a second server's tool alters a trusted tool's behavior, and rug pulls, where a server changes descriptions after approval. No specification advisory or CVE classifies it as a protocol bug.

Azure mitigations:

GitHub MCP server private repository exfiltration

· Misconfiguration · Researcher demonstration

Invariant Labs demonstrated hidden instructions in a public GitHub issue against an agent with a broad github-mcp-server token. The agent read private repositories and posted them in a public pull request. Neither Invariant nor GitHub called this a server or specification bug. GitHub added opt-in Lockdown mode to restrict content from untrusted contributors in public repositories.

Azure mitigations:

MCP Inspector unauthenticated local proxy remote code execution (CVE-2025-49596)

· Client bug · Disclosed vulnerability

Before 0.14.1, the official MCP Inspector tool ran a local proxy without authentication or Origin checks. A malicious web page could send browser requests to the proxy and run arbitrary commands on the developer's machine. Anthropic fixed this bug in @modelcontextprotocol/inspector 0.14.1 with a default session token and allowed-origin checks.

Azure mitigations:

Supabase MCP prompt injection demonstration via support tickets

· Misconfiguration · Researcher demonstration

In a dummy-data test, General Analysis targeted an IDE assistant with Supabase MCP service_role privileges. Hidden support-ticket instructions made the assistant copy sensitive SQL rows into a customer-visible reply. Supabase reported no customer MCP leaks and called the issue not MCP-specific. Supabase already had read-only mode and SQL result warnings, then disabled write tools in read-only mode on 2025-09-15.

Azure mitigations:

mcp-remote OAuth URL command injection (CVE-2025-6514)

· Client bug · Disclosed vulnerability

The mcp-remote proxy passed server-supplied authorization_endpoint URLs to the OS URL opener unsanitized. An untrusted MCP server could run arbitrary OS commands on Windows and launch arbitrary executables with limited arguments on macOS and Linux. Maintainers fixed it in mcp-remote 0.1.16.

Azure mitigations:

Malicious postmark-mcp npm package (OSV MAL-2025-47604)

· Supply chain attack · Exploited in the wild

An attacker published a copy of Postmark's MCP server to npm as postmark-mcp. Version 1.0.16 secretly BCC'd sent emails to an external address. Postmark confirmed it had not published the package, and npm shows it unpublished on 2025-09-25. Only OSV MAL-2025-47604 tracks it, with no CVE or GHSA.

Azure mitigations:

· Client bug · Disclosed vulnerability

An untrusted repository could set enableAllProjectMcpServers in .claude/settings.json to run .mcp.json commands before the Claude Code startup trust dialog. Check Point Research reported CVE-2025-59536 with GHSA-ph6w-f82w-28w6, a hooks startup warning bug fixed in 1.0.87. Anthropic fixed CVE-2025-59536 in @anthropic-ai/claude-code 1.0.111.

MCP Python and TypeScript SDK DNS rebinding defaults (CVE-2025-66416, CVE-2025-66414)

· Server bug · Disclosed vulnerability

Official MCP Python and TypeScript SDKs left Host and Origin checks off by default on unauthenticated local HTTP servers. A malicious site could reach localhost via DNS rebinding. Local stdio servers stayed unaffected. Maintainers fixed this default in Python mcp 1.23.0 and TypeScript @modelcontextprotocol/sdk 1.24.0.

Claude Code base URL API key leak (CVE-2026-21852)

· Client bug · Disclosed vulnerability

A repository configuration file could override ANTHROPIC_BASE_URL so Claude Code sent API requests to an attacker endpoint before the project trust prompt. Those requests could leak user API keys. This bug is not an MCP specification flaw. Anthropic fixed it in @anthropic-ai/claude-code 2.0.65.

Azure mitigations:

Azure MCP Server token exposure through server-side request forgery (CVE-2026-26118)

· Server bug · Disclosed vulnerability

Some Azure MCP Server tools accepted arbitrary URLs instead of Azure resource IDs. The server then sent an outbound request that could include its managed identity token. Microsoft classified this as elevation of privilege via server-side request forgery (CWE-918) with no observed exploitation. Microsoft added URL validation in 1.0.2 and 2.0.0-beta.17.

Azure mitigations:

HashiCorp Terraform MCP server session cache and server-side request forgery flaws (HCSEC-2026-23)

· Server bug · Disclosed vulnerability

In shared HTTP mode, HashiCorp Terraform MCP Server cached clients by MCP session ID alone, not per caller token. One caller could reuse another's Terraform credentials in stateful (CVE-2026-16496) and stateless (CVE-2026-16498) modes. The bulletin also disclosed bearer-token server-side request forgery (CVE-2026-14869). HashiCorp fixed all 3 bugs in 1.1.0, and stdio-only deployments stayed unaffected.

Azure mitigations: