Skip to content
IAM Insights

Briefing · Draft · source · updated · Boston Identity

An OAuth client brokering many tools, as agent services do, can let a rogue tool take over a user's other tools

Revision -01 of the OAuth working group's update to its security best practice, posted in March 2026, sets out three attacks beyond RFC 9700 that its own authors found at the University of Stuttgart, the Chinese University of Hong Kong and Samsung Research America. Two target the single OAuth client that links one user to many tools; the draft's examples include agentic AI services and token vaults. Its answers are MUSTs, among them a separate redirect address for every tool connection.

IETF Datatracker · Tim Würtele, Pedram Hosseyni, Kaixuan Luo, Adonis Fung · March 2, 2026 · read

share
3 findings3 sectionsStandardsAgentic identity
5,836 words.
01

What's happening

Finding3
BI-FIND-2026-1031Lead finding

If a client linking one user to many tools loses track of which tool a flow belongs to, a malicious tool can steal the victim's code, the OAuth update warns.

The OAuth working group's security update adds an attack on the single client that links one user to many tools. The draft's examples of that design include an application such as a cloud platform or an agentic AI service orchestrating tools, some contributed by the public, and multi-tenant OAuth-as-a-Service, "also known as Token Vault". If the client loses track of which tool, provider and tenant a flow belongs to, a malicious tool can steal the code an honest provider issues to a victim, and the attacker can then "operate the honest toolkit with the victim's account", even across tenants that share a vulnerable OAuth-as-a-Service. Revision -01 answers with MUSTs: registered OAuth providers are not shared across toolkits and tenants of different owners; each connection gets a context identifier built from the toolkit, plus the provider and tenant where the draft requires them; that identifier goes into a distinct redirect URI and the user's session, and the client aborts the flow when the two do not match. Existing mix-up defences may stand in only under conditions the draft lists, including no implicit grant and runtime resolution of an issuer identifier.

high confidencebest source: independent researchobserved Mar 2026EvidenceCross-toolkit OAuth account takeover (COAT)
flag a problem with BI-FIND-2026-1031
BI-FIND-2026-1032

The OAuth security update says a client MUST ensure that an OAuth flow started by one user is completed by the same user.

A second attack in the update exploits confusion over which user a connection belongs to. Some clients carry a session identifier in the state parameter or a pre-authorization link because they cannot see the user's session where the flow ends; the draft's examples are a native app's backend that opens a tool-linking page in the browser and a client that outsources OAuth to an OAuth-as-a-Service provider. An attacker starts a flow, sends the link to a victim, and once the victim approves, "the attacker's account at the client now gains access to the victim's resources." The draft says "PKCE alone cannot mitigate this new attack", because the victim completes the entire flow. Its rule is that the client "MUST ensure that an OAuth flow initiated by one user is completed by the same user", by validating the carried session against the user's existing session before it requests the token.

high confidencebest source: independent researchobserved Mar 2026EvidenceCross-user OAuth session fixation
flag a problem with BI-FIND-2026-1032
BI-FIND-2026-1033

Revision -01 puts the duty to stop audience injection on a client that sends signed assertions to more than one authorization server.

For audience injection, revision -01 puts the duty on the client. A client that works with more than one authorization server and authenticates with signed assertions "MUST employ one of the following countermeasures, unless audience injection attacks are mitigated by other means, such as using fresh key material for each authorization server": the server's issuer identifier as the assertion's sole audience, or the exact endpoint URI it is sent to. Without one, a malicious server can list an honest server's token endpoint as its own, and an assertion the client sends to the attacker's pushed authorization, revocation, CIBA or device endpoint is valid at the honest server. The draft calls that endpoint list not exhaustive, covers private_key_jwt and SAML assertions as well as RFC 7523 JWTs, and says the countermeasures need no normative change on the server side.

high confidencebest source: independent researchobserved Mar 2026 – Apr 2026EvidenceSection 1
Also reported in +1 briefing
flag a problem with BI-FIND-2026-1033
02

Section by section

3

showing 3 of 3

[1]

Audience injection attacks on signature-based client authentication

Standards

A malicious authorization server can publish an honest server's token endpoint as its own. A client that names that endpoint as the audience of its signed assertion, and uses one key pair at both servers, then hands the attacker an assertion the honest server accepts. The cited research confirmed it at the pushed authorization, revocation, CIBA and device endpoints, a list the draft calls not exhaustive. Clients must name one audience: the issuer identifier, or the exact endpoint URI.

technical artifactfrom published text

[2]

Cross-toolkit OAuth account takeover (COAT)

Agentic identityStandards

The attack targets one client serving many toolkits, such as a cloud platform or an agentic AI service, or a multi-tenant OAuth-as-a-Service ('Token Vault'). If the client loses track of which provider, toolkit and tenant a flow belongs to, a malicious toolkit steals the code an honest provider issued to a victim. The draft's defence is a redirect URI per context whose identifier is checked against the session, with no provider registrations shared across owners.

technical artifactfrom published text

[3]

Cross-user OAuth session fixation

Standards

When a client cannot see the user's session where a flow ends, for example a native app's backend opening a tool-linking page in the browser, it may carry a session identifier in state or a pre-authorization link. An attacker starts a flow and sends the link to a victim, whose approval gives the attacker's account the victim's tool access. PKCE does not stop it, since the victim completes the whole flow. Clients must check that the user who started a flow finishes it.

technical artifactfrom published text

Terms used

OAuth
The web's standard framework for delegated authorization — letting one application act at another on a user's (or machine's) behalf without sharing passwords.
OAuth 2.0 Security Best Current Practice
RFC 9700 (January 2025), the IETF's consolidated security guidance for OAuth 2.0: exact-match redirect URIs, no implicit grant, and sender-constrained or short-lived tokens. It is a best current practice, so deployers are expected to follow it.
AI agent
Software that uses an AI model to decide its own next steps and then acts through tools and APIs, rather than answering a single prompt. Because it acts, it needs an identity of its own.
URI
Uniform Resource Identifier, the general form of a web address. Identity specs use URIs to name things unambiguously: an issuer, an audience, a resource, or a workload's identity in SPIFFE.
Implicit grant
The original OAuth 2.0 flow that returns an access token straight in the browser redirect instead of exchanging a code. RFC 9700 says clients SHOULD NOT use it, because tokens leak through URLs and cannot be sender-constrained.
PKCE
An OAuth 2.0 security extension, mandatory in OAuth 2.1, that stops an intercepted authorization code from being redeemed: the client hashes a random code verifier into a code challenge sent up front, then must present the original verifier to exchange the code for a token.
Audience injection attack
Attack where a malicious authorization server publishes an honest server's token endpoint so a client's signed assertion can be replayed there.
CIBA
Client-Initiated Backchannel Authentication — an OpenID flow where sign-in is approved out-of-band on another device (say, a push to your phone) rather than in the requesting browser.

Cited in our columns

Read next

Was this briefing useful?

Share this briefing

Every finding, forecast and open question on this site has a permanent ID. If we reword one, its ID stays the same, so a citation keeps pointing to the same claim.

Follow us on LinkedInRSS feed

Working on an identity problem this research touches? Talk to Boston Identity