Est.

OWASP MCP Top 10 Vulnerabilities and Enterprise Mitigations

· 11 min read
Cover illustration for “OWASP MCP Top 10 Vulnerabilities and Enterprise Mitigations”
AI Security & Compliance · October 10, 2026 · 11 min read · 2,422 words

The OWASP MCP Top 10 exists because the Model Context Protocol broke the assumptions that every prior OWASP list was built on. The project is currently in Phase 3, beta release and pilot testing, under project lead Vandana Verma Sehgal, with categories published as MCP01:2025 through MCP10:2025. Descriptions and ordering may still shift before the final release, which reflects a framework still being pressure-tested against real deployments.

The structural difference is simple to state and hard to live with. Before MCP, an agent had a small, fixed set of tools, written into the application by a developer who could read every line. With MCP, the agent finds tools on the fly, from any server it happens to reach, and each of those servers is a fresh trust boundary that nobody on the security team signed off on in advance. That is a different problem from the old API security problem, because the list of things the agent trusts is no longer fixed at build time.

Nothing about the protocol's design closes that gap. Authentication is optional for local, stdio-based setups and required, through OAuth 2.1, only for remote HTTP-based servers. Authorization exists as a defined concept but is optional to implement. Role-based access control has no definition in the protocol. Session-to-identity binding works through OAuth 2.1 audience validation, but only when a team implements authorization in the first place, while transport security and tool manifest signing are left out of the spec. None of this is an oversight to be patched in a point release. It is the shape of the thing, and any security program that treats MCP as "API security with extra steps" will miss most of what actually goes wrong.

The clearest sign of the mismatch appears in tooling that already exists. Static application security testing and software composition analysis were built to read source code, not tool descriptions. A tool poisoning attack can sail through a clean SAST scan untouched, because the malicious instructions sit in metadata fields, the plain-text descriptions an agent reads to decide what a tool does, and a code scanner has no reason to open that file.

How the Protocol's Underspecified Security Model Created Ten Attack Categories

The ten categories in the OWASP MCP Top 10 are not a brainstorm. They track, almost one for one, the security properties the protocol left undefined: authentication, authorization, RBAC, session binding, transport security, manifest signing. If you leave six properties unspecified, a security community will eventually find ten ways to exploit the gaps between them, some more directly than others.

A conventional security stack covers that lineage poorly across the list. A risk coverage matrix laid across the ten categories makes this plain: no single control, not a network allowlist, not an MCP gateway, not a pre-deploy scanner, not a runtime proxy, not an identity gateway, not an audit log platform, covers all ten risks on its own. Filling the matrix takes four to six of those control categories working together, which is a different procurement conversation than "buy the scanner and move on."

The ten risks also don't distribute evenly across the kill chain. Tool poisoning (MCP03), supply chain compromise (MCP04), and command injection (MCP05) are in the middle of the framework and account for most of the disclosed MCP CVEs to date, which makes that middle stretch the place where an incident is most likely to start. Authentication gaps (MCP07) and shadow MCP (MCP09) tend to announce themselves earlier and more quietly, because a team notices them as governance and inventory problems before anyone has actually exploited them. Token mismanagement (MCP01) and context injection and over-sharing (MCP10) are quieter still: these risks appear in an audit trail or a data-handling review months after the fact rather than in an incident report the week it happens.

Put those three bands together, early governance gaps, a noisy exploit-prone middle, and slow-burning audit findings, and the pattern shows fixing this is a governance problem as much as a coding problem. The work spans the full lifecycle, from what a developer wires up in the IDE, through what ships via CI/CD, to what actually runs in production. The sections that follow walk the ten categories in that lifecycle order, starting with the risk every enterprise security team already has scar tissue from: credentials.

Diagram: Where MCP Risks Cluster Across the Kill Chain. Visualizes: Show three bands of MCP risk distributed across an attack lifecycle, illustrating that the ten categories are not evenly spread.

Credential and token risks: MCP01 and secrets entering the agent layer

MCP01, Token Mismanagement and Secret Exposure, is the one category on this list that doesn't require learning new vocabulary. Leaked credentials, stolen API keys, secrets sitting in a log file where they shouldn't be, all of that predates MCP by decades. What's new is the amplifier: MCP sessions run long, and the protocol passes context, including secrets, across tool boundaries as a matter of normal operation. Hard-coded credentials, long-lived tokens, and secrets parked in model memory or protocol logs give an attacker a way into connected systems, and a prompt injection, a compromised context window, or a stray debug trace is often all it takes to pull one of those tokens out. A short-lived API key that leaks in a conventional web app is a bad afternoon. A long-lived MCP session token that leaks is a bad quarter, because the blast radius scales with how long the session stays alive and how many tools it touches along the way.

The fix looks familiar to anyone who has hardened a CI/CD pipeline: keep secrets in a vault and inject them as environment variables at runtime, never bake them into client or server configuration. Issue tokens that are short-lived and narrowly scoped, and revoke them the moment the agent session ends, so they don't linger. Grant privileges just in time, at the moment a tool is actually invoked, instead of handing an agent standing access it holds whether or not it's using it. Scan protocol logs and context windows for secrets before anything gets written to disk, because a secret that never touches storage can't leak from storage.

The server on the other end has to actually check the token. That's the hinge to MCP07: token hygiene and authentication enforcement are two halves of one control, and a well-rotated token means nothing against a server that would have waved through an empty header just as easily.

Privilege and scope risks: MCP02 and the slow accumulation of agent capabilities

MCP02, Privilege Escalation via Scope Creep, is permission drift wearing MCP's clothes. Permissions granted to an MCP server start out temporary or loosely scoped and then widen, quietly, until the agent is sitting on far more capability than any single task ever asked for. Developers building fast tend to default to broad read-and-write access because it's the easy path to a working prototype, and that convenience is exactly where the scope creep starts. An attacker who finds weak scope enforcement downstream can ride that excess privilege into repository changes, system control, or data pulled straight out of the environment, none of which required breaking anything, just using the access that was already sitting there unused.

The countermeasure is the same discipline enterprises already apply to human accounts, but scoped down to the individual tool call rather than the whole agent session. Fine-grained RBAC needs to bind to the specific invocation, not the broad session. Access reviews need to happen on a schedule, the same cadence a security team already runs for human service accounts, so you check that an agent's privileges still match what it's actually supposed to do. Tying agent permissions to an existing identity provider, Okta or Entra ID, puts those reviews inside a workflow that already exists. If you enforce least privilege at the MCP gateway layer, a single compromised agent can't escalate into resources it was never scoped to touch.

The objection that comes up fastest in these conversations is "we already have IAM," and it misses what's actually different here. Existing IAM was built for human identities and service accounts, and it does not automatically extend to non-human agent identities acting through MCP tool calls unless someone has gone in and configured it to. That configuration step is the substantive new work, and it's the thread MCP07 picks back up in full.

Tool poisoning and supply chain attacks: MCP03 and MCP04, where trust in the tool layer breaks down

Tool poisoning (MCP03) and supply chain attacks (MCP04) are where existing AppSec tooling stops being useful, because both exploit the same blind spot: an agent treats a tool's description and a tool's output as trusted instructions, not as data to be checked. Tool poisoning happens when an adversary compromises a tool, a plugin, or its output and uses that position to inject misleading or outright malicious context that steers the model's behavior. A routine-looking update can turn a previously trustworthy tool hostile, an interface definition can get quietly corrupted, or a malicious server can hijack the interactions between other, legitimately trusted servers to manipulate an agent's behavior toward them. SAST and SCA tools cannot see any of it, because the malicious instructions live in metadata fields, the descriptive text a scanner has no reason to open, let alone flag.

Supply chain risk in MCP is the same old dependency problem, but with a much thinner layer of adult supervision. The ecosystem is dominated by individual developers and small teams shipping connectors with no formal security review, and a single AI coding tool in regular use might connect out to many separate MCP servers, each one pulling in its own packages and its own credentials. New servers go up weekly, often with no clear owner, no review process, and no plan for maintenance, and the public inventory has already grown to tens of thousands of servers across GitHub, covering everything from Slack and Jira to databases, cloud infrastructure, and CI/CD tools.

The practical response is to stop treating tool descriptions and tool outputs as authoritative and start treating them as untrusted input, the same posture applied to any other external data source. Cryptographic signing of tool manifests makes tampering detectable before an agent ever acts on a poisoned description. A private, curated registry of approved MCP servers, the MCP equivalent of running a private npm or PyPI mirror instead of pulling straight from the public internet, keeps agents from discovering and connecting to arbitrary servers at runtime. Because none of that catches a substitution that happens after deployment, a runtime inspection proxy must watch for anomalous agent behavior in flight.

Injection risks at the execution layer: MCP05 and MCP06 in agentic workflows

Command injection (MCP05) and intent flow subversion (MCP06) are classic injection attacks wearing new uniforms. The interpreter is the model instead of a SQL engine, the payload is ordinary natural-language text instead of an escaped string, and the blast radius extends to every system the agent happens to have a connection to. Command injection occurs when an agent builds and runs system commands, shell scripts, API calls, or code snippets using input it hasn't validated, whether that input came from a user prompt, a retrieved document, or a third-party data source. Because so many MCP servers run locally or with elevated privileges, a successful injection doesn't stop at the application boundary, it can hand an attacker the whole host. CVE-2025-6514, found in mcp-remote by JFrog Security Research in July 2025, is the case study: a CVSS 9.6 OS command injection that fired the moment mcp-remote connected to an untrusted MCP server, in a package that had already racked up a large number of downloads by the time anyone caught it.

Intent flow subversion works on the agent's goals. Malicious instructions buried in context hijack what OWASP calls the Intent Flow, so the agent gets pulled away from the user's actual request and toward whatever the attacker wants done instead. Multi-step agentic workflows make this worse: context accumulates across steps and runs as a second channel of instructions alongside the user's own, so one poisoned input early in the chain can bend every action that follows it. Researchers showed this by slipping a malicious MCP server into an agentic system, and it coerced the MCP client into exposing WhatsApp message data through the trusted WhatsApp MCP integration, with no notice to the user and no approval asked.

The fixes read like a sandboxing checklist because that's what they are. MCP servers should never execute raw, unsanitized code or shell commands, and you need to validate and sanitize every input before it goes anywhere near a system command. Running MCP tools inside sandboxed or containerized environments with minimal host access caps the damage when an injection does succeed, turning a potential full compromise into a contained incident. A runtime proxy inspecting agent-to-server traffic in real time is the only layer positioned to catch intent subversion after the context has already been assembled, and prompt injection detection belongs at the gateway as a standard control, not a feature a team bolts on after the first incident.

Authentication as the Load-Bearing Control: MCP07 and the Identity Gap

MCP07, Insufficient Authentication and Authorization, is the row on the risk matrix that only an identity gateway can fully close, making it the structural prerequisite for the rest of this playbook. Every mitigation discussed above assumes a server capable of checking who, or what, is on the other end of a request. Token hygiene under MCP01 only matters if a server verifies the token. Scoped RBAC under MCP02 only holds if a server can bind a request to a verified identity before granting anything. A signed tool manifest under MCP03 and MCP04 only blocks tampering if the server authenticates the party that's doing the signing. Sandboxing under MCP05 and MCP06 contains the blast radius of an attack but does nothing to stop an unauthenticated connection from being accepted.

That dependency runs in one direction. Strong authentication without the other nine controls still leaves plenty of exposure, but weak authentication turns every other control into theater, because an attacker who can impersonate a legitimate client walks past scoped permissions, signed manifests, and sandboxed execution the same way a lock picked at the front door makes every window latch irrelevant. The protocol's own optionality, authentication required for remote HTTP servers but optional for local stdio implementations, is precisely the identity gap that MCP07 names, and it's the one gap no amount of downstream tooling can fully compensate for. An identity gateway that enforces authentication and authorization before a request ever reaches a tool is the piece of infrastructure the rest of the OWASP MCP Top 10 quietly assumes is already there.

Sources

  1. OWASP MCP Top 10
  2. OWASP MCP Top 10
  3. GitHub - OWASP/www-project-mcp-top-10: OWASP MCP Top10 · GitHub
  4. MCP01:2025 - Token Mismanagement and Secret Exposure
  5. MCP02:2025 - Privilege Escalation via Scope Creep
  6. Test results for MCP05 (Command Injection): six published CVEs, vulnerable vs. patched · Issue #64 · OWASP/www-project-mcp-top-10

More in AI Security & Compliance