OWASP MCP Top 10
Ten risk categories for MCP hosts, servers and tools; a v0.1 beta draft with no stated method and some naming and licence loose ends
Items at a glance
What this list is
The OWASP MCP Top 10 is an OWASP Foundation project, led by Vandana Verma Sehgal, that names ten risks in systems built on the Model Context Protocol: the hosts and clients that run a model, the MCP servers that expose tools and resources to it, and the context that flows between them. The edition is labelled 2025 and the top-10 page calls itself version 0.1. It is a beta draft. The project roadmap places the work in phase 3, “beta release and pilot testing”; the final-release phase has not been reached, and the project sidebar still shows template values (Incubator, version 0.0.0). The repository gives no release date. Treat the codes and names as provisional.
The boundary with the neighbouring OWASP lists is fairly clean. The LLM Top 10 is about the model application: what the model reads and what it emits. The Agentic Top 10 is about agent behaviour: goals, tools, memory, other agents. The MCP Top 10 sits on the integration layer between the two: the tokens an MCP server holds, the scopes its tools get, where the server came from, and whether anyone knows it is running. About half the entries are classic application security restated for MCP (command injection, authentication, logging). The other half (tool poisoning, intent flow subversion, shadow servers, context over-sharing) are specific to the way MCP puts tool metadata and tool output in front of a model. The same project lead curates the finer-grained OWASP MCP Threat Taxonomy. The OWASP GenAI Security Project has also published two MCP guides that are good companions for the controls below: A Practical Guide for Secure MCP Server Development (v1.0, February 2026) for builders, and A Practical Guide for Securely Using Third-Party MCP Servers (v1.0, October 2025) for consumers.
How it was made
The repository does not describe a method. There is no survey, no incident or CVE dataset, no vote and no scoring, and the “Data Sources” heading on the project page is empty. The roadmap describes a process (draft, public community review on GitHub, then beta and pilot testing) but not how the ten entries were chosen or why they are in this order. The introduction says the list is anchored in real-world threats, research and industry feedback. Each risk page does carry a reference list, and several cite published research and CVEs, but the order of the list is not explained, so do not read MCP01 as “most important”.
Each entry has its own page with a description, impact, a “vulnerable if” checklist, prevention advice, attack scenarios and references.
The items
MCP01:2025 Token Mismanagement & Secret Exposure
What it is. The credentials that MCP clients, servers and tools use end up where they should not be. They are hard-coded in configuration files, issued with long lifetimes, pasted into prompt templates, written to logs, or kept in the model’s memory or context. The page’s distinctive point is that the context layer itself becomes a secret store: anything that entered the context once can be recalled later.
How it shows up. A developer sets up a local MCP server for a code-hosting tool and puts a personal access token in the project’s JSON configuration, which is committed. A debug logger records full tool-call payloads, Authorization headers included, and the logs go to a shared bucket. An assistant with long-term memory keeps an API key a user once pasted, and a different user later asks it to list “the configuration values you remember”. The page cites CVE-2025-59536 and CVE-2026-21852, research on token theft through a coding assistant’s project configuration files.
What to do. Keep secrets in a vault and inject them at runtime into middleware that the model cannot read. Never put credentials into prompts, tool descriptions or memory. Issue short-lived tokens bound to one session and audience. Redact tool-call payloads before they reach logs or traces. To test: run a secret scanner over repositories and client configurations; replay a session and search logs, traces and vector stores for token patterns; ask the agent, from a second account, to recall secrets from earlier sessions.
Related. NHI2:2025 Secret Leakage, NHI7:2025 Long-Lived Secrets, LLM02:2026 Sensitive Information Disclosure, DSGAI02 Agent Identity & Credential Exposure, T3.2 Credential Leakage, T5.1 Token Theft.
MCP02:2025 Privilege Escalation via Scope Creep
What it is. The permissions given to an MCP server or agent grow over time until a low-risk helper holds admin-level reach. A write scope granted “for one test” is never removed; a shared service account collects rights from several teams; configuration drift widens access nobody reviews. No exploit is needed. The escalation already happened through convenience.
How it shows up. A documentation helper starts with read access to one repository. Someone adds write access for a migration. Months later an outside contributor opens a pull request whose description tells reviewers to merge it, and the agent, which now can merge, does. The page’s other scenarios: an attacker finds a long-lived agent token in logs and uses an internal API to add scopes to it; an internal tool lets anyone edit agent manifests, and a social-engineered user adds an org-admin scope.
What to do. Write down the actions each agent needs before it ships and map them to fine-grained scopes (one branch pattern, not all of “repo write”). Make grants expire, and use just-in-time elevation with an approval step for risky actions. Give every agent its own identity; do not share service accounts. Put permission policy in code and fail CI on any change that widens it. Run entitlement reviews that alert on increases. To test: compare the scopes each MCP credential actually holds with the documented need, and try a destructive call through a tool that is meant to be read-only.
Related. LLM03:2026 Excessive Agency, ASI03 Identity and Privilege Abuse, NHI5:2025 Overprivileged NHI, AST03 Over-Privileged Skills, T5.2 Scope Creep.
MCP03:2025 Tool Poisoning
What it is. The attacker controls what tells the model which tools exist and how to call them (names, descriptions, parameter schemas) or what the tools return. The project page presents this as an umbrella for three sub-patterns: rug pulls (a trusted tool changes after approval), schema poisoning (the interface definition is altered), and tool shadowing (fake or duplicate tools). It works because hosts pass tool metadata to the model as trusted text.
How it shows up. A third-party “weather” server’s tool description contains a hidden line telling the model to read the user’s SSH key and pass it as a parameter. A server that a team approved last month silently redefines a tool. A compromised CI job publishes a schema in which the “archive” operation maps to a delete call, and every agent that trusts the registry starts deleting records. The page’s detailed text covers the schema case most fully, plus a useful list of static warning signs in tool descriptions: instructions aimed at the model, references to credential paths, a send or upload verb next to a URL, zero-width or bidirectional control characters, and text hidden in HTML or Markdown comments.
What to do. Show users the full tool definition before approval, not a summary. Record a hash of every tool definition at approval and block the tool when it changes. Scan descriptions for the warning signs above before connecting a server. Sign schemas and manifests and verify them at load. Add a policy check that a tool’s declared purpose matches the effect of the call. To test: run a test server with a poisoned description and one whose definition changes after first use, and confirm the host flags or blocks both.
Related. T1.1 Tool Description Poisoning, T1.2 Schema Manipulation, T1.5 Tool Shadowing, T2.1 Rug Pull, AST04 Insecure Metadata, ASI02 Tool Misuse and Exploitation, LLM01:2026 Prompt Injection.
MCP04:2025 Software Supply Chain Attacks & Dependency Tampering
What it is. MCP servers, SDKs, connectors and plug-ins are third-party code that runs in a trusted path and usually holds tokens. A malicious or vulnerable component there can change agent behaviour, copy context data out, insert rogue schemas or add a backdoor, and it can look legitimate for a long time.
How it shows up. A client configuration launches an MCP server through a package runner with no version pin, so every start pulls “latest”. A maintainer account is compromised and the next release copies support transcripts to an outside endpoint. A developer installs a typo-squatted package with a near-identical name. An attacker publishes a public package with the same name as an internal MCP plug-in, and default resolution picks the public one (dependency confusion). A compromised build job appends privileged methods to an MCP manifest.
What to do. Pin versions and hashes, serve packages from an internal mirror, and block direct installs from public registries. Keep a software bill of materials for each MCP server. Verify signatures and provenance on install and at start-up. Run dependency scanning in CI. Run third-party servers in containers with a read-only file system and an egress allow-list, so a bad update cannot reach arbitrary hosts. To test: list every MCP server in every client configuration and check that each resolves to a pinned version and hash; from inside a server’s sandbox, try to reach an unapproved domain.
Related. A03:2025 Software Supply Chain Failures, LLM04:2026 Supply Chain, ASI04 Agentic Supply Chain Vulnerabilities, OSS-RISK-2 Compromise of Legitimate Package, OSS-RISK-3 Name Confusion Attacks, T6.3 Supply Chain Attack, AML.TA0004 Initial Access.
MCP05:2025 Command Injection & Execution
What it is. A tool turns model output into a shell command, SQL query, file path or API call without parameterising it. The attacker does not need direct access to an input field. The payload can sit in a user prompt, a retrieved document or another tool’s output, and the model copies it into the command.
How it shows up. A “run tests” tool builds a shell string by appending model-chosen arguments. A README in a cloned repository persuades the coding agent to pass an argument that ends with ; curl … | sh. A file tool accepts ../../ in a path and reads outside its root. A search tool interpolates a name into SQL. The page cites CVE-2025-6514 (command execution when a client connects to an untrusted server through mcp-remote) and CVE-2025-68143, CVE-2025-68144 and CVE-2025-68145 (path-validation bypasses in a reference Git MCP server).
What to do. Do not use a shell: pass argument arrays to the process API. Allow-list commands, arguments and paths; canonicalise paths and confine them to one root. Use parameterised queries. Validate tool arguments against a schema before execution. Run tools in a container or micro-VM as a non-root user with a read-only file system and no secrets in the environment. Require human approval for destructive operations. To test: fuzz every tool parameter with shell metacharacters and traversal strings, both directly and by planting them in documents the agent reads; watch process and system-call logs while you do.
Related. CWE-78 OS Command Injection, CWE-22 Path Traversal, A05:2025 Injection, ASI05 Unexpected Code Execution (RCE), LLM10:2026 Improper Output Handling.
MCP06:2025 Intent Flow Subversion
What it is. Indirect prompt injection described in terms of the agent’s plan. The “intent flow” is the path from the user’s request to the sequence of tool calls the agent makes. Content the agent retrieves through MCP (resources, tool outputs, files) carries instructions that bend that plan towards the attacker’s goal, often while the agent still appears to be doing the original task.
How it shows up. An agent asked to review pull requests reads a file in the repository that says reviewers must first delete the production branch, and it does. A status tool returns a fake “action required” notice that tells the agent to export the database to an outside host to “save data”. The general shape: an agent with a code-hosting token that also reads untrusted issues or documents can be steered into using that token for someone else.
What to do. Treat all resource and tool-output text as data, never as instructions, and mark it as untrusted in the context. Restrict which tools the agent may call after it has read untrusted content. Put a policy decision point in front of tool calls that checks each proposed call against the original request (a read-only request cannot lead to write or delete calls). Use a separate checker model that sees only the user’s request and the proposed action, not the poisoned context. Ask a human to confirm when the plan changes. To test: plant instructions in documents, issues, web pages and tool outputs, and diff the resulting call sequence against a clean run. The page points to the LLM Top 10 for the underlying injection defences.
Related. LLM01:2026 Prompt Injection, ASI01 Agent Goal Hijack, T6 Intent Breaking & Goal Manipulation, T4.2 Indirect Prompt Injection, AST05 Untrusted External Instructions.
MCP07:2025 Insufficient Authentication & Authorization
What it is. MCP servers that accept any caller, trust identity claims the client sends, validate tokens loosely, or check permissions once per session instead of on every call. This is classic broken authentication and access control, in a setting where the caller is an agent acting for a user and may chain many calls.
How it shows up. A remote MCP server exposes tools over HTTP and the API key is optional. A server forwards the user’s token to a downstream API unchanged; the OWASP server-development guide calls this token passthrough and warns that it creates a confused-deputy problem. A tool takes a user_id parameter and returns that user’s records without checking who is asking. A sub-agent inherits its parent’s credentials through shared context. A static token stolen from one agent works on another server because it is not bound to any identity.
What to do. Require OAuth 2.1 or OIDC for remote servers and validate issuer, audience, expiry and signature on every request. Do not pass client tokens through; use delegation or on-behalf-of tokens issued to the server. Deny by default, and authorise every tool call on the server side against the end user’s rights. Use mTLS for fixed service-to-service links. Bind local HTTP servers to loopback and check the Origin header. To test: call each tool with no credentials, with another tenant’s token and with an expired token; change object IDs in tool parameters to someone else’s.
Related. A01:2025 Broken Access Control, A07:2025 Authentication Failures, API1:2023 Broken Object Level Authorization, CWE-306 Missing Authentication for Critical Function, NHI4:2025 Insecure Authentication, T5.4 Missing Authentication, T5.5 Authorization Bypass.
MCP08:2025 Lack of Audit and Telemetry
What it is. No usable record of which prompt led to which tool call, with which parameters, under which identity, against which server and schema version. Without that trail you cannot investigate a prompt injection, an insider, or slow data theft, and you cannot prove to an auditor what an agent did.
How it shows up. A compromised agent in an analytics product sends small slices of patient data out through ordinary tool calls for months; tool calls are not logged, so nothing alerts. A developer switches telemetry off “for a test session” and uses the agent to pull data they should not have. A malicious PDF makes an agent fetch credentials and post them to an outside domain, and afterwards no log shows the context change or the network call.
What to do. Write a structured log entry per tool call: timestamp, agent ID, session ID, user identity, server and tool name, schema or definition hash, parameters (redacted), and a result summary. Trace requests end to end from host to client to server, for example with OpenTelemetry. Ship logs to central, append-only storage and alert on unusual tool patterns. Redact sensitive fields rather than switching logging off for privacy. To test: run a drill. Take one suspicious answer and reconstruct the full chain from logs alone, then try to delete or alter the logs using the agent’s own identity.
Related. A09:2025 Security Logging & Alerting Failures, T8 Repudiation & Untraceability, CICD-SEC-10 Insufficient Logging and Visibility, and its flip side, T6.5 Logging Exposure.
MCP09:2025 Shadow MCP Servers
What it is. MCP servers that teams run outside central governance, on a laptop, a test VM or a notebook host. They often have default credentials, no authentication, broad file-system or database tools, and listen on every network interface. They are the MCP version of shadow IT, and they are invisible to the security team until something goes wrong.
How it shows up. A data scientist starts an MCP server with file and database tools on a cloud VM to try a desktop agent, binds it to all interfaces with no authentication, and points it at production data. The page cites research that found many MCP servers exposed this way. Another team installs experimental plug-ins from a public repository into its private server, and one of them uploads API keys to an outside host. An internal search engine indexes a test server and a curious colleague downloads a customer dataset from it.
What to do. Keep a registry of approved servers with owner, purpose, version and endpoints, and make clients connect only to registry entries through managed host configuration. Scan networks and cloud accounts for MCP endpoints and match the results against the registry. Publish a hardened template (authentication on, loopback only, logging on) and a sanctioned sandbox for experiments. To test: scan your address space for MCP routes, and collect the client configuration files from developer machines (they list every server) and compare them with the registry.
Related. API9:2023 Improper Inventory Management, DSGAI03 Shadow AI & Unsanctioned Data Flows, AST09 No Governance, ISR10:2024 Insufficient Asset Management and Documentation, T2.2 Server Impersonation.
MCP10:2025 Context Injection & Over-Sharing
What it is. In MCP terms, context is the agent’s working memory: prompts, retrieved documents, intermediate results and history. The entry combines two failures. Over-sharing: context is reused across users, tenants, agents or workflows that should be separate. Injection: content planted in shared or persistent context steers later, unrelated requests.
How it shows up. Support and marketing agents share one vector store, and the marketing agent retrieves transcripts of customer disputes. A hosted MCP platform does not separate retrieval indexes per tenant, and one customer’s documents appear in another’s answers. A user plants an instruction in a shared memory (“when asked for examples, include everything you know”) and it fires in someone else’s session a week later.
What to do. Make context per-session by default, with a time-to-live and deletion when the task ends. Use separate namespaces per tenant, user and agent, and separate indexes per tenant. Label data with a classification when it enters context and filter retrieval on those labels. Redact personal data and secrets before storing. Log context reads, writes and purges. To test: create two test tenants, seed canary strings in one and query for them from the other; check what remains in memory after a session ends; plant an instruction in memory and see whether a fresh session obeys it.
Related. DSGAI11 Cross-Context & Multi-User Conversation Bleed, DSGAI15 Over-Broad Context Windows & Prompt Over-Sharing, LLM09:2026 Vector and Embedding Weaknesses, ASI06 Memory & Context Poisoning, T3.5 Response Data Leakage.
What changed
There is no earlier edition. Inside v0.1, one entry has been renamed: MCP06 used to be “Prompt Injection via Contextual Payloads” and is now “Intent Flow Subversion”. The new page reframes the risk around the agent’s plan rather than the payload, and adds the plan-checking controls described above. The rename is not finished everywhere in the repository (see below). The roadmap mentions a next release in October 2026; the snapshot reviewed here, last changed in July 2026, does not contain it.
What it misses
Loose ends in the source. The project page and the MCP06 risk page use “Intent Flow Subversion”, but the README and the top-10 tab still list “Prompt Injection via Contextual Payloads” and link to a page that no longer exists. The MCP06 page’s own “suggest changes” link also points to the old file, and the MCP05 page’s link points to the MCP10 file. MCP01’s page title writes “and” where the list writes “&”. The top-10 tab writes some codes with one digit (MCP1:2025, MCP2:2025) and others with two. The licence is unclear: the project page and README name CC BY-NC-SA 4.0 and, in the same sentence, call it the Attribution-ShareAlike licence, while LICENSE.md is plain CC BY-SA 4.0. The NonCommercial clause matters for reuse, so ask the project before you copy text. The README’s title links to a different OWASP project’s URL, and the project metadata still carries placeholder text.
Content gaps inside entries. MCP03’s page is almost entirely about schema poisoning; rug pulls and tool shadowing are named but not worked through. MCP02’s impact list opens with a sentence copied from MCP01 about token exposure. The introduction promises risks such as model misbinding, context spoofing, insecure memory references and covert channels, and none of them became an entry.
Risks a reader would expect. Resource exhaustion and runaway cost from tool-call loops or huge tool outputs. Transport security, including local HTTP servers reachable from a browser. Session hijacking on the HTTP transport. Data moving between two connected servers (one server’s tool output steering a call to another, which the third-party guide calls tool interference). Server-side request forgery through “fetch” tools. Exfiltration through rendered output, such as image links. Consent design and approval fatigue in the host UI. The MCP Threat Taxonomy covers several of these (T6.4, T6.1, T5.3, T3.1).
Overlaps. MCP01 and MCP07 both cover static, long-lived tokens. MCP02 and MCP07 both preach least privilege. MCP03, MCP06 and MCP10 all describe injected instructions and differ only in where the text arrives (tool metadata, retrieved content, persistent memory); the boundaries are not spelled out.
Recommended controls. A recommended-controls folder holds two pages, each describing how one particular open-source project maps to the ten risks. They read as project write-ups rather than consensus guidance.
Our take
Use this list as a checklist and shared vocabulary for MCP integrations: a review of every server you connect, a section in a threat model, or a questionnaire for vendors who ship MCP servers. The strongest pages are MCP05, MCP07 and MCP08, which have concrete, testable checklists, even if they mostly restate familiar AppSec. The weakest are MCP03, which does not cover its own sub-patterns, and the unclear lines between MCP03, MCP06 and MCP10. It is a beta with naming and licensing loose ends, so do not hard-code its codes into policy yet. For finer-grained threat modelling pair it with the MCP Threat Taxonomy, for controls use the two OWASP MCP guides (server development for builders, third-party use for consumers), and for agent behaviour beyond the protocol use the Agentic Top 10.
Item codes and names are from “OWASP MCP Top 10” by OWASP Foundation (OWASP MCP Top 10 project), licence: CC BY-NC-SA 4.0 on the project page; the LICENSE file says CC BY-SA 4.0. Read the official text before relying on a detail. The review text on this page is ours.