State Surfaces

MCP Confused Deputy and Token Passthrough: Spec Clauses Mapped to Checks You Can Run on Your MCP Server

MCP confused deputy and token passthrough are the two OAuth failure modes the MCP specification names for servers that hold credentials on an agent's behalf. This page lets you check an MCP proxy or resource server against each normative clause: a table maps every MUST in the current spec (2026-07-28), the previous version (2025-11-25), and the draft to a precondition, a concrete check with test data, an expected result, and the source clause. It also covers the CVE-2026-48039 token leak and the 2025 Asana cross-tenant incident as examples of what the clauses exist to prevent.

Target
Tool & Environment State
Persistence
Session to Shared-System
Control
Prevent, Detect, Contain, Recover
Status
SSA Working Term
On this page 15 sections
  1. Check your MCP server against the spec
  2. What it is
  3. What it is not
  4. In scope
  5. Target state and trust boundaries
  6. What the research establishes
  7. Persistence
  8. Detection: observable signs
  9. Defenses, containment, and recovery
  10. Boundaries with similar concepts
  11. Mapping to standards and research
  12. Related terms
  13. FAQ
  14. Sources
  15. Verification and change history

MCP confused deputy and token passthrough are two related, protocol-documented failure modes in how an MCP (Model Context Protocol) server handles the OAuth credentials it holds so an agent can call a third-party API on a user's behalf. The confused deputy variant lets an attacker obtain an authorization code by riding a static client ID and a browser's leftover consent cookie. The token passthrough variant is a server accepting and forwarding an access token that was never issued for it, skipping the audience check that keeps one service's token from working as another service's credential. The MCP specification already explains both in detail. What it does not give you is a way to test your own server against its clauses. The table below does that: one row per normative requirement, with the spec version it applies to, the precondition under which the row matters, what to check, what you should see, and a link to the clause. The rows are basic regression checks for the selected requirements. Passing them does not prove conformance with the specification, and it does not mean your server is safe.

Check your MCP server against the spec

The MCP versioning page lists 2026-07-28 as the current protocol version. The previous version is 2025-11-25, and a draft is published for the next revision. The confused deputy and token passthrough sections of the Security Best Practices document carry the same required protections in 2025-11-25, 2026-07-28, and the draft. The authorization specification was split into sub-pages in 2026-07-28 (security considerations, client registration, discovery), and two changes in that version affect how you read the rows: Dynamic Client Registration is deprecated in favor of Client ID Metadata Documents, and protocol-level sessions were removed, so the 2025-11-25 "Session Hijacking" section became "State Handle Hijacking". The 2025-06-18 authorization page carries the same Token Handling and confused deputy MUST statements as the two later versions, so rows 6 and 7 apply there too.

Run every check against a test authorization server, test users, and test clients you created for this purpose. Do not use production tokens or a live third-party API. Where a row says "capture", use your own test harness or a local proxy that only sees your test traffic.

Spec version and clause

Precondition (when this row applies to you)

What to check in your server

Expected result

Source

Security Best Practices, Confused Deputy Problem, Required Protections, Per-Client Consent Storage (2026-07-28, 2025-11-25, draft). Also Authorization Security Considerations, Confused Deputy Problem: proxies using static client IDs "MUST obtain user consent for each dynamically registered client before forwarding" (2026-07-28, 2025-11-25, 2025-06-18).

Your server is an MCP proxy server: it presents one static client ID to a third-party authorization server, and it lets MCP clients register (dynamic registration or Client ID Metadata Documents).

With a test user who already consented through test client A, register test client B with its own clientid and redirecturi, then start an authorization request as B for the same user. Inspect what your server does before any redirect to the third-party authorization server.

Your server shows its own consent page for B. Nothing is sent to the third-party authorization server until the consent POST for B is stored. The registry holds separate entries for A and B under that user.

Security Best Practices 2026-07-28, Confused Deputy Problem; Authorization Security Considerations 2026-07-28

Security Best Practices, Confused Deputy Problem, Consent UI Requirements (2026-07-28, 2025-11-25, draft).

You serve an MCP-level consent page.

Load the consent page for a test client and inspect the response body and headers.

Body shows the client's name, the specific third-party scopes requested, and the registered redirect_uri. The approve form carries a CSRF token or bound state value. Headers include Content-Security-Policy: frame-ancestors or X-Frame-Options: DENY.

Security Best Practices 2026-07-28, Consent UI Requirements

Security Best Practices, Confused Deputy Problem, Consent Cookie Security (2026-07-28, 2025-11-25, draft).

You track consent decisions in cookies rather than only in a server-side store.

Approve consent for test client A and read the Set-Cookie header. Then present that cookie on an authorization request for test client B.

Cookie name starts with __Host-; attributes include Secure, HttpOnly, and SameSite=Lax; the value is signed or references a server-side session. The cookie issued for A does not satisfy consent for B.

Security Best Practices 2026-07-28, Consent Cookie Security

Security Best Practices, Confused Deputy Problem, Redirect URI Validation (2026-07-28, 2025-11-25, draft). Also Authorization Security Considerations, Open Redirection: exact matching against registered values.

Your server accepts authorization requests that carry a redirect_uri, and the test client has a fixed HTTPS redirect URI registered.

Send four authorization requests for that client where the redirect_uri differs from the registered one by a trailing slash, a port, an added path segment, and an added query string.

All four are rejected with an error from your server. The browser is not redirected to any of the submitted URIs. No wildcard or prefix matching is applied. This row is scoped to fixed HTTPS redirect URIs: for loopback IP redirect URIs of native clients, RFC 8252 Section 7.3 says the authorization server "MUST allow any port to be specified at the time of the request", so a port difference alone is not a failure there.

Security Best Practices 2026-07-28, Redirect URI Validation; Open Redirection

Security Best Practices, Confused Deputy Problem, OAuth State Parameter Validation (2026-07-28, 2025-11-25, draft).

Your proxy runs an OAuth flow with a callback endpoint.

Part A: watch when the state-tracking cookie or session is created during a test flow. Part B: hit the callback with a missing state, an altered state, a state reused from a completed flow, and a state older than your expiry.

Part A: nothing is set before the consent approval POST; the state is stored immediately before the redirect to the third-party identity provider. Part B: all four callbacks are rejected; a fresh valid state is accepted exactly once.

Security Best Practices 2026-07-28, OAuth State Parameter Validation

Authorization, Token Handling: servers "MUST validate that access tokens were issued specifically for them as the intended audience" per RFC 8707 Section 2, and "MUST NOT accept or transit any other tokens" (2026-07-28, 2025-11-25, 2025-06-18).

Your MCP server accepts bearer tokens over an HTTP transport.

From your test authorization server, obtain a token whose resource is a second test resource URI (not your server's canonical URI) and present it to your server. Also present an expired token. For opaque tokens, confirm your introspection path reads the audience, not only the active flag.

Both requests receive HTTP 401 per OAuth 2.1 Section 5.3 and the request is not processed. A token for your own canonical URI is accepted.

Authorization 2026-07-28, Token Handling; Authorization 2025-11-25; Authorization 2025-06-18

Security Best Practices, Token Passthrough, Mitigation: "MUST NOT accept any tokens that were not explicitly issued for the MCP server" (2026-07-28, 2025-11-25, draft). Authorization Security Considerations, Access Token Privilege Restriction: "The MCP server MUST NOT pass through the token it received from the MCP client" (2026-07-28, 2025-11-25, 2025-06-18).

Your MCP server calls an upstream API on the caller's behalf.

In a test harness, capture the outbound request your server sends to the upstream resource server during a tool call and compare its credential with the inbound Authorization header. Then search your server's logs and error responses for the inbound token value.

The outbound credential presented to the upstream resource server is a different token, issued by the upstream authorization server with that upstream API as its audience. The inbound token value appears in no request to a downstream resource server, in no URL, and in no log line or error body. Two legitimate outbound uses of the inbound token are out of scope for this row and should be confirmed separately as going only to the intended authorization server: introspection (RFC 7662 Section 2.1 sends the token as the token parameter) and token exchange (RFC 8693 Section 2.1 sends it as subject_token).

Security Best Practices 2026-07-28, Token Passthrough; Access Token Privilege Restriction 2026-07-28

Authorization, Token Requirements: "Access tokens MUST NOT be included in the URI query string" (2026-07-28, 2025-11-25, 2025-06-18).

Your server parses incoming requests, or you build an MCP client.

Send a request to your server with a valid test token in the query string and none in the Authorization header.

Your server treats the request as unauthenticated and returns 401. It never reads a token from the query string. Note: this clause governs client-to-MCP-server requests. The CVE-2026-48039 leak put a server-held credential in a downstream URL, which no clause in this table covers; row 13 is the separate check for that.

Authorization 2026-07-28, Token Requirements

Authorization, Resource Parameter Implementation: clients "MUST" include resource in both the authorization request and the token request, using the server's canonical URI (2026-07-28, 2025-11-25, 2025-06-18).

You build an MCP client that obtains tokens for an MCP server.

Capture the authorization request and the token request your client sends to the test authorization server.

Both carry resource= with the same canonical URI of the MCP server (scheme and host, no fragment). The parameter is sent even when the authorization server does not advertise support. Separate case, not covered by this clause: when your proxy acts as an OAuth client toward a third-party authorization server, the token it obtains there is for the third-party API, so any resource value in that flow names the third-party API, never your MCP server.

Authorization 2026-07-28, Resource Parameter Implementation

Security Best Practices, State Handle Hijacking: servers "MUST NOT treat possession of a state handle as authentication" and SHOULD bind handles to the authenticated user (2026-07-28 and draft only). The 2025-11-25 equivalent is Session Hijacking: servers "MUST NOT use sessions for authentication".

2026-07-28: your server mints handles (a cart ID, a workflow ID) that clients pass back as tool arguments. 2025-11-25: your server issues session IDs.

2026-07-28: mint a handle for test user A, then call the same tool with that handle using test user B's token. 2025-11-25: send a request with a valid session ID and no token, then with a valid session ID and test user B's token against user A's session.

The request from user B with user A's handle is rejected. A session ID alone never authenticates a request.

Security Best Practices 2026-07-28, State Handle Hijacking; Security Best Practices 2025-11-25, Session Hijacking

Authorization, Authorization Response Validation: clients "MUST" validate a present iss against the recorded issuer before sending the code to any token endpoint, and MUST reject a response with no iss when the authorization server advertises authorization_response_iss_parameter_supported: true (2026-07-28 and draft only; added by SEP-2468).

You build an MCP client, including a proxy that acts as a client to a third-party authorization server.

Configure the test authorization server to advertise authorization_response_iss_parameter_supported: true. Return an authorization response with no iss, then one with a mismatched iss, then one that matches.

The first two are rejected before any token request is made. The third proceeds. On mismatch, error fields in the response are not displayed or acted on.

Authorization 2026-07-28, Authorization Response Validation; Changelog 2026-07-28

Client Registration: Dynamic Client Registration is deprecated; clients and authorization servers "SHOULD" support Client ID Metadata Documents; authorization servers "MUST validate redirect URIs presented in an authorization request against those in the metadata document" (2026-07-28).

Your proxy accepts registrations through more than one mechanism, or you are migrating from dynamic registration to Client ID Metadata Documents.

Register one test client by dynamic registration and one by a URL-shaped client_id pointing at a test metadata document. Run row 1 and row 4 for each.

Both clients get their own consent entry and their own exact redirect_uri check. Row 1's spec text names "dynamically registered" clients; applying the same consent step to metadata-document clients is this site's reading of the vulnerable conditions, not a quoted requirement.

Client Registration 2026-07-28

Server-held downstream credentials. Partly covered by Authorization, Token Handling: "Invalid or expired tokens MUST receive a HTTP 401 response" and the error table's 401 for "Authorization required or token invalid" (2026-07-28, 2025-11-25, 2025-06-18). The rest of this row is an SSA check derived from CVE-2026-48039, not a spec clause.

Your server holds its own standing credential for a downstream API (an environment variable, a service account, a stored refresh token). Part A applies only when the server is reachable over an HTTP transport and the operation is one that requires caller authentication; MCP authorization is optional, and the spec says a stdio server "SHOULD NOT follow this specification, and instead retrieve credentials from the environment", so a local stdio server using an environment credential is not a finding. Part B applies to every server that holds such a credential.

Part A: give the test deployment a recognizable test credential value and send a protected tool call over HTTP with no Authorization header. Part B: with a valid test token, force the downstream call to fail in the harness and read the full JSON-RPC error response and the server logs; also capture how the downstream request carries the credential.

Part A: the unauthenticated request gets 401 and no tool handler runs, so the standing credential is not used on behalf of an unauthenticated HTTP caller. Part B: the test credential value appears nowhere in the error response or logs, and the downstream request carries it in an Authorization header, not in the URL, so a serialized request URL cannot contain it.

Authorization 2026-07-28, Token Handling; GHSA-9gw6-46qc-99vr

What a pass tells you, and what it does not

A pass on rows 1 to 5 shows that, for the test clients used, your proxy ran its own consent step before forwarding, so a consent cookie set by the third-party authorization server for your static client ID did not by itself let a second client complete a flow. A pass on rows 6 and 7 shows your server rejected the test tokens issued for other resources and did not relay the client's token to the downstream resource server. A pass on row 10 shows a handle or session ID did not stand in for authentication in that test. A pass on row 13 shows that an HTTP server with protected operations did not run a handler for an unauthenticated caller, and that the server-held test credential did not surface in one forced error.

These are presence and behavior checks on specific inputs. They do not establish that your state values are unpredictable, that your CSRF protection holds against every forgery, that a frame-ancestors value is correct for your deployment, or that an audience check is implemented for every token format you accept. None of the rows covers scope design, SSRF during metadata discovery, local server installation, or the authorization URL validation sections of the same document. A server can pass every row and still leak a credential through an error path the forced failure in row 13 did not exercise. Rerun the table when you change the authorization server, add a registration mechanism, or move to a new protocol version.

What it is

The defining object is the OAuth authorization state an MCP server manages on an agent's behalf: the client ID it uses to talk to a third-party authorization server, the consent state that server remembers for that client ID, and the access token it receives from an MCP client and may forward downstream. The defining cause, for the confused deputy variant, is an MCP proxy server using one static, unchanging client ID for every MCP client that connects to it, combined with a third-party authorization server that sets a browser cookie to remember consent for that client ID rather than for the individual end user. The defining cause for token passthrough is simpler: a server that does not check the audience claim on an incoming token before trusting it or relaying it to another API. The defining consequence in both cases is that the MCP server, which the downstream API implicitly trusts as a single well-known caller, ends up acting with authority a specific request never actually earned.

This differs from MCP tool poisoning in what state gets attacked. Tool poisoning targets the tool description or tool-call result the agent's model reads as instruction-bearing content. This entry targets the authorization plumbing underneath the tool call, the OAuth handshake and token that decide whether the call is even permitted, which is invisible to the model's own reasoning and fails independently of whether any tool description was ever poisoned.

What it is not

  • A tool description or tool-call result carrying hidden instructions, covered by MCP tool poisoning, where the failure is in what the model reads, not in the OAuth handshake underneath it.
  • Identity spoofing at the discovery layer of a different protocol, covered by agent card poisoning, which targets the A2A Agent Card a client fetches before any session starts rather than the token flow an already-connected MCP client uses against a downstream API.
  • A leaked API key or credential sitting in a plaintext config file with no OAuth flow or proxy involved, which is a broader secrets-management problem, not specific to this entry's mechanism.
  • A user knowingly granting an agent broad OAuth scopes they later regret; this entry covers the protocol handing over authority the user never actually consented to, not a consent decision made in full knowledge.
  • Reproducible exploit code or a working forgery recipe against a named vendor's live MCP deployment.

In scope

  • MCP proxy servers using a static client ID with a third-party authorization server that sets consent cookies, letting an attacker's registered client ride an existing cookie to obtain an authorization code.
  • MCP servers that accept an access token without validating its audience claim, letting a token issued for one service function as a credential for another.
  • MCP servers that forward an unmodified client-supplied token to a downstream API rather than exchanging it for a token scoped to their own identity.
  • Ambient credential fallback, where a server that receives no per-request token substitutes a standing environment credential and then leaks that credential through an error path.
  • Defensive controls for per-client consent, audience validation, token exchange, and scope minimization on the MCP authorization boundary specifically.

Target state and trust boundaries

The target state is the OAuth authorization state an MCP server manages between an MCP client and a downstream third-party API: which client ID it presents, what consent decision it has on file, and which access token it is currently honoring. The trust boundary that fails is the assumption, on the part of the third-party authorization server, that a request carrying the MCP proxy's client ID and a valid consent cookie represents one already-approved relationship, when in an OAuth proxy architecture that cookie is shared across every MCP client that has ever registered against the same static ID.

MCP's own specification treats this as a named class of vulnerability rather than a hypothetical. Its security best-practices document defines the "MCP Proxy Server" as an MCP server that "offers MCP features while delegating operations and acting as a single OAuth client to the third-party API server," and lists four conditions that must all be present for the attack: a static client ID at the third-party authorization server, MCP clients that can register dynamically, a consent cookie set by the third-party authorization server after the first authorization, and no per-client consent at the proxy before forwarding (Model Context Protocol, Security Best Practices, 2026-07-28). The same document defines token passthrough as "an anti-pattern where an MCP server accepts tokens from an MCP client without validating that the tokens were properly issued to the MCP server and passes them through to the downstream API," and states the requirement without qualification: "MCP servers MUST NOT accept any tokens that were not explicitly issued for the MCP server."

What the research establishes

The specification documents the confused deputy attack chain step by step: a user completes a legitimate authorization flow through the MCP proxy, the third-party authorization server sets a consent cookie scoped to the proxy's static client ID, an attacker later sends the user a link carrying a newly registered client ID and an attacker-controlled redirect URI, the browser's leftover consent cookie causes the authorization server to skip the consent screen, and the resulting authorization code is redirected to the attacker's server rather than back to the legitimate proxy. The specification's mitigation section requires MCP proxy servers to maintain a per-client consent registry, check it before forwarding to the third-party authorization server, and never persist a state-tracking cookie until after the MCP-level consent screen has been explicitly approved. Rows 1 to 5 of the table above are those requirements restated as checks.

The token passthrough half of this pattern produced a documented, CVE-tracked incident in a live MCP server. CVE-2026-48039, affecting the meta-ads-mcp package at versions 1.0.108 and earlier, combines an authentication bypass with an ambient credential leak: the server's AuthInjectionMiddleware.dispatch() forwarded unauthenticated HTTP requests to tool handlers without returning a 401, and when a tool call received no per-request credential it fell back to a standing META_ACCESS_TOKEN environment variable. When a downstream Meta Graph API call then failed, the raw request URL, including that access token as a query parameter, was serialized verbatim into the JSON-RPC error response, handing an unauthenticated caller a long-lived credential for the operator's Meta Ads account. The advisory carries a CVSS 3.1 score of 9.1, was published 2026-05-20, and was fixed in version 1.0.109 (GitHub Security Advisory GHSA-9gw6-46qc-99vr / CVE-2026-48039). This is a token passthrough failure in spirit rather than the specification's literal audience-mismatch case: the credential that leaked was a server-held downstream credential, never bound to the individual caller's request in the first place, so no audience check on inbound tokens could have distinguished a legitimate caller from an attacker, and row 7's search for the inbound token would not have found it. Row 13 exists for this case: an unauthenticated request that still reaches a tool handler, and a forced downstream failure whose error body is read for the server's own credential.

A cross-tenant incident at Asana illustrates the broader intermediary trust problem the confused deputy pattern names. In June 2025, Asana identified and disabled a bug in its MCP server that allowed data belonging to one organization to become visible to users from other organizations and notified affected customers directly. The details beyond that come from third-party reporting rather than an Asana publication: BleepingComputer reported that the MCP server launched on May 1, 2025, that the flaw was found on June 4, and that an Asana spokesperson put the impact at "roughly 1,000 customers"; Nudge Security's account lists task details, project metadata, comments, and uploaded files as the exposed data types (BleepingComputer, Asana warns MCP AI feature exposed customer data to other orgs, 2025-06-18). Security researchers at Defakto described the underlying architecture as an instance of "the classic confused deputy problem," noting that "any time there's an intermediary (in this case the MCP server) between a client and a server, we have the possibility of a bug that results in elevated privileges for the client" (Defakto Security, What the Asana MCP Bug Reveals About AI Security Gaps, 2025-06-19; Nudge Security, Asana MCP server data exposure incident). Asana's own public account does not specify whether the bug matched the specification's static-client-ID mechanism exactly; what is documented is that an MCP server acting as a single trusted intermediary between many tenants failed to keep one tenant's request from reaching another tenant's data, which is the same class of failure the specification's confused deputy section exists to prevent.

Persistence

A stolen authorization code or forwarded token is not a single-turn event: the code exchanges for an access token the attacker can use until it expires or is revoked, and a consent cookie that enabled the theft can persist in a user's browser across many separate MCP sessions, meaning the vulnerable window outlives any one conversation. Where the MCP server functions as a shared intermediary across multiple tenants, as in the Asana case, a single confused deputy failure can expose data belonging to organizations that never interacted with the attacker at all, which puts this pattern's upper bound at shared-system scope rather than one compromised session.

Detection: observable signs

  • An MCP proxy server issuing the same client ID to a third-party authorization server for authorization requests originating from distinct, unrelated MCP clients, with no MCP-level consent recorded for one of them.
  • An authorization flow that completes with no consent screen shown, immediately following a redirect carrying a newly registered client ID and an unfamiliar redirect URI.
  • A request to a downstream API carrying a token whose audience is not that downstream API, for example the token the MCP client presented to the MCP server, relayed as-is.
  • An MCP server's error responses or logs containing a raw access token, API key, or credential value in a URL, header, or JSON-RPC error body.
  • Cross-tenant data appearing in one organization's MCP session output with no corresponding request from that organization's own credentials.

Useful telemetry includes a per-client consent audit log distinct from the third-party authorization server's own cookie-based state, audience-claim validation logged as a pass/fail event on every inbound token, and log correlation between the MCP proxy's caller identity and the downstream API's own request logs to catch identity mismatches the proxy's forwarding would otherwise hide.

Defenses, containment, and recovery

The table below is SSA editorial guidance for defenders. It is neither a standard requirement nor a measured effectiveness ranking. The row numbers in the last column point to the spec checks above.

Control

Transition it interrupts

Applicability

Residual risk and verification

Per-client consent registry checked before third-party forwarding

A second registered client riding a legitimate user's leftover consent cookie

Any MCP proxy server acting as a single OAuth client to a third-party authorization server

Only closes the gap if the registry is checked before every forward, not just on first connection; verify with spec check row 1, and rows 3 and 5 for the cookie and state timing.

Audience-claim validation on every inbound token

A token issued for one service being accepted as valid for another

Any MCP server that receives bearer tokens from MCP clients

Requires the token format to carry a checkable audience claim (for example per RFC 9068); opaque tokens need an introspection call instead, which some deployments skip for latency reasons. Verify with row 6.

Token exchange instead of raw forwarding

A downstream API trusting a passed-through token as if it originated from the MCP server itself

MCP servers that call a downstream API using credentials derived from an inbound client token

Adds an extra network round trip and requires the downstream API to support a token-exchange or delegation flow; not every third-party API offers one. Verify with row 7.

No ambient credential fallback for unauthenticated requests

An unauthenticated caller receiving a standing service credential by default when no per-request token is present

Any MCP server configured with an environment-variable or service-account credential as a fallback

Removing the fallback can break legitimate low-friction use cases that relied on it; pair with an explicit 401 response rather than silent denial so failures are visible. Applies to HTTP servers with protected operations; a stdio server reading its credential from the environment is the spec's intended design. Verify with row 13 part A.

Error-path credential scrubbing

A token or credential leaking through a serialized request URL or stack trace in an error response

Any MCP server whose error handling reflects request details back to the caller

Scrubbing has to cover every error path, not just the common ones; a single missed serialization point, as in CVE-2026-48039, reintroduces the leak. Verify with the forced downstream failure in row 13 for the server-held credential, and the search in row 7 for the inbound token; one forced failure exercises one error path.

Prevention should treat every inbound token as untrusted until its audience is verified and should never let a static client ID stand in for individual user consent. Detection should log consent and audience-validation outcomes as first-class, queryable events rather than incidental log lines. Containment should revoke the affected client ID's standing trust and force re-consent for every user who authorized through it, since a compromised static client ID cannot be selectively distrusted for one attacker while remaining trusted for legitimate callers. Recovery should treat any data accessed through a confirmed confused deputy or passthrough incident as exposed to whoever held the stolen code or token, not merely to the attacker who was first observed, and should rotate the downstream credentials the proxy held rather than assuming the token's stated expiry was honored.

Boundaries with similar concepts

This is a specific instance of what OWASP's Agentic Top 10 classifies as ASI03:2026 Identity and Privilege Abuse, which the framework describes as agents that "leverage inherited user or system credentials in problematic ways," retaining "high privilege credentials, session tokens, and delegated access" that get "unintentionally reused, escalated, or passed across agents," and which names "confused deputy scenarios" explicitly among its examples. This entry is narrower than that category: it covers the specific OAuth-proxy and token-audience mechanisms MCP's own specification documents, not every form of credential misuse an agent can commit.

This differs from agent card poisoning in protocol and timing. That entry targets the A2A Agent Card fetched before any session begins, deciding whether a client should trust a counterparty at all. This entry targets the OAuth token flow an already-connected MCP client uses to reach a downstream API, after trust in the MCP server itself has already been established. A deployment running both MCP-connected tools and A2A-discovered agents needs distinct controls for each, since a hardened Agent Card discovery path does nothing to fix a static client ID shared across every MCP client.

Mapping to standards and research

Source

Source-owned term or item

Relationship to this article

Model Context Protocol, Security Best Practices (2026-07-28, 2025-11-25, draft)

"Confused Deputy Problem"; "Token Passthrough"; "State Handle Hijacking" (2026-07-28 and draft); "Session Hijacking" (2025-11-25)

Primary, protocol-owned definitions and MUST-NOT requirements this article's two variants and the check table are drawn from directly.

Model Context Protocol, Authorization specification (2026-07-28, 2025-11-25, 2025-06-18)

Token Handling; Access Token Privilege Restriction; Resource Parameter Implementation; Authorization Response Validation (2026-07-28)

Normative server and client requirements behind rows 6 to 9 and 11 of the check table.

GitHub Security Advisory GHSA-9gw6-46qc-99vr / CVE-2026-48039

meta-ads-mcp authentication bypass and credential leak

Direct, CVE-tracked evidence that an ambient-credential fallback combined with an unscrubbed error path leaks a live access token to an unauthenticated caller.

Asana MCP server incident (2025-06)

Cross-tenant MCP data exposure

Documented real-world incident illustrating the intermediary trust failure the confused deputy pattern describes, independently framed as such by Defakto Security.

OWASP Top 10 for Agentic Applications 2026

ASI03:2026 Identity and Privilege Abuse

Broader risk category explicitly naming "confused deputy scenarios" among credential-misuse examples; this article covers the narrower, protocol-specific OAuth-proxy and token-passthrough mechanisms.

MITRE ATLAS

AML.T0055 Unsecured Credentials, tactic AML.TA0013 Credential Access

Attacker-behavior classification for the credential-exposure consequence documented in CVE-2026-48039, where a standing credential was recoverable through an insufficiently protected error path.

Agent State Attack

MCP confused deputy and token passthrough

SSA descriptive bundling of the specification's two named terms under one entry, and the check table, not attributed to the sources above.

  • Agent state attack: the umbrella definition, including tool and environment state among the listed target states.
  • MCP tool poisoning: the adjacent MCP-protocol surface targeting tool descriptions and results rather than the OAuth handshake underneath a tool call.
  • Agent card poisoning: the adjacent surface in a different protocol, targeting pre-session discovery trust rather than an already-connected client's token flow.
  • Sandbox configuration escape: another entry targeting tool and environment state, through a writable host configuration path rather than an OAuth credential path.

FAQ

Which spec version should I check against?

The current version, 2026-07-28, unless your server advertises an older protocol version to its clients. The confused deputy and token passthrough clauses have the same wording in 2025-11-25 and 2026-07-28, so rows 1 to 9 apply to both. Rows 10 and 11 differ: 2026-07-28 removed protocol-level sessions and added iss validation. If you still accept 2025-11-25 clients, run the 2025-11-25 variant of row 10 as well.

Is this the same thing as an agent's tool description being poisoned?

No. MCP tool poisoning targets content the model reads and can be tricked into treating as an instruction. This entry targets the OAuth authorization plumbing that decides whether a tool call is permitted at all, which the model never sees and which fails independently of whether any tool description was ever compromised.

Does this require the MCP server itself to be malicious?

No, and the documented cases show it does not. The specification describes confused deputy and token passthrough as architectural failure modes a well-intentioned MCP proxy server can fall into through ordinary implementation choices, such as reusing one client ID for simplicity or forwarding a token because building a proper exchange flow is more work. CVE-2026-48039 and the Asana incident both involve legitimate, non-malicious services with an unintended authorization gap.

Does avoiding OAuth-backed MCP servers eliminate this risk?

It removes the specific mechanisms this entry covers, at the cost of losing the delegated, scoped access OAuth is meant to provide. A server falling back to a single static credential for every caller, as in the ambient-credential fallback pattern seen in CVE-2026-48039, can reintroduce an equivalent risk without OAuth being involved at all, since the underlying problem, a shared credential standing in for individual authorization, is not unique to the OAuth flow specifically.

Can this be mitigated without breaking legitimate multi-client MCP proxy deployments?

Yes. Per-client consent registries, audience validation, and token exchange all preserve the ability for one MCP proxy to serve many distinct MCP clients; none require collapsing back to a single shared credential. What they remove is the assumption that a static client ID or a forwarded token can stand in for verifying which specific caller is making which specific request.

Sources

Checked November 4, 2026.

Verification and change history

Standards and versions referenced: MCP protocol versions 2026-07-28 (current), 2025-11-25, 2025-06-18, and the published draft; OWASP Top 10 for Agentic Applications, Version 2026 (December 2025); MITRE ATLAS, data release v2026.06 (2026-06-30); CVE-2026-48039 / GHSA-9gw6-46qc-99vr.

Last verified: 2026-11-04, against the sources listed above. One limit: the URL for the 2025-06-18 Security Best Practices page serves the 2025-11-25 text, so the table cites the 2025-06-18 authorization page only, where the Token Handling and confused deputy clauses were confirmed.

Change history: 2026-09-25, first version. 2026-11-04, added the spec-to-check table covering 2026-07-28, 2025-11-25, and the draft; added version notes on dynamic client registration deprecation, state handles, and iss validation; linked the defenses table to the check rows; re-verified all sources. Same day, after an independent fact check: corrected the audience wording so downstream tokens are checked against the downstream API, exempted introspection and token exchange from row 7, scoped row 4 to fixed HTTPS redirect URIs, separated the proxy-as-client case in row 9, added row 13 for server-held credentials and removed the claim that row 7 catches CVE-2026-48039, softened the pass wording, and attributed the Asana launch date and customer count to third-party reporting. After a second fact check: scoped row 13's 401 check to protected operations on HTTP transports, since authorization is optional and stdio servers read credentials from the environment by design, and kept the error and log leak checks as a separate part.

Working-term label: Mixed provenance. "Confused Deputy Problem" and "Token Passthrough" are terms defined directly in the Model Context Protocol's own specification. CVE-2026-48039 is a Standard-identified vulnerability. ASI03:2026 is a Standard Term owned by OWASP. AML.T0055 and AML.TA0013 are Standard Terms owned by MITRE. This article's bundling of the two MCP-specification terms under one entry, the check table's preconditions and expected results, and its framing of the Asana incident as an illustrative real-world case, are SSA editorial synthesis, not attributed to the sources above.

This reference is defensive in scope. It classifies state changes and controls without publishing exploit recipes.

Back to the reference