Audience Injection: The OAuth Flaw RFC 10070 Just Fixed
Audience injection attacks target OAuth, OpenID Connect and FAPI client authentication. See how RFC 10070 fixes the flaw and what to patch in 2026.
By Babul Jack
An audience injection attack lets a malicious or compromised authorization server trick an OAuth client into issuing a client-assertion JWT with the wrong "aud" value, then replay that token against a legitimate server to impersonate the client and its user. It affects OAuth 2.0, OpenID Connect, FAPI and CIBA, and it's now fixed by RFC 10070.
I've spent the last few weeks going through this fix for client projects that use private_key_jwt client authentication — mostly fintech integrations built on FAPI 2.0 and a couple of B2B platforms that federate logins across multiple identity providers. If your stack signs JWTs to authenticate at a token endpoint, this is worth 15 minutes of your time even if nothing has "broken" yet.
What is an audience injection attack?
Researchers at the University of Stuttgart — Pedram Hosseyni, Ralf Küsters and Tim Würtele — published a class of vulnerabilities they call audience injection attacks in a Cryptology ePrint Archive paper. They found the flaw while doing a formal security analysis of an early draft of the OpenID Federation specification, and disclosed it to the OAuth Working Group at an interim meeting in January 2025.
The root cause is simple once you see it: OAuth 2.0 client authentication methods that use signed JWTs — private_key_jwt, JWT Bearer Token Authentication, and SAML Bearer Assertions — all rely on an aud (audience) claim to say which server the assertion is meant for. The original specifications never nailed down exactly what that value should be when a client talks to more than one endpoint on the same authorization server, such as a token endpoint, a pushed authorization request (PAR) endpoint, or a token introspection endpoint.
An attacker who controls (or spoofs) one authorization server can publish metadata that lists a victim server's real token endpoint as its own. When an honest client tries to authenticate against the attacker's server, it builds a client-assertion JWT using that borrowed value as the audience — and the attacker now holds a validly signed assertion it can replay against the real server to obtain tokens, including access tokens for the victim user's resources.
Why OAuth, OpenID Connect and FAPI were all exposed
The vulnerability wasn't confined to one spec. According to both the paper and RFC 10070 itself, it touched:
OAuth 2.0 Assertion Framework for Client Authentication (RFC 7521)
SAML 2.0 Profile for OAuth Client Authentication (RFC 7522)
JWT Profile for OAuth Client Authentication (RFC 7523)
That list matters to anyone doing fintech work. FAPI 2.0 is the security profile behind most open banking and PSD2/PSD3-style API ecosystems, and it leans heavily on private_key_jwt for strong client authentication. If your platform does PSD3 open banking integrations, audience injection is directly in your threat model, not a theoretical academic concern.
How RFC 10070 fixes the OAuth client authentication flaw
RFC 10070, published November 7, 2026 by Michael Jones, Brian Campbell, Chuck Mortimore and Filip Skokan, closes the ambiguity by making the audience value a single, unambiguous thing: the authorization server's issuer identifier, as defined in RFC 8414.
Two mechanisms do the work:
Issuer identifier as the sole audience. The client assertion's aud claim MUST contain only the authorization server's issuer identifier URL — never a token endpoint, PAR endpoint, or any other metadata value. The authorization server, in turn, MUST reject any client assertion whose aud isn't exactly its own issuer identifier.
Explicit JWT typing. RFC 10070 defines a new media type, client-authentication+jwt, built on the explicit typing mechanism from RFC 8725. This lets servers tell apart assertions built to the new, stricter rule from older assertions that might still carry an ambiguous audience, which matters during migration.
Both mechanisms depend on specs that didn't exist when RFC 7523 was first written in 2015 — the issuer identifier concept came later with RFC 8414, and explicit JWT typing with RFC 8725. The fix is a good example of a protocol maturing enough to close a hole its original authors couldn't have anticipated.
How to patch private_key_jwt in your stack
If you run an authorization server, an OAuth/OIDC client library, or an SDK that signs client assertions, here's the practical sequence I'm using on client projects:
Inventory every endpoint your client authenticates against on each authorization server — token endpoint, PAR endpoint, introspection, revocation. Audience injection needs at least two endpoints in play, so single-endpoint setups are lower risk but still worth checking.
Check what your library puts in aud today. Many client libraries still default to the token endpoint URL. If yours does, that's the exact pattern RFC 10070 eliminates.
Switch the client assertion's aud to the AS issuer identifier from its .well-known/openid-configuration or .well-known/oauth-authorization-server document, per RFC 8414 section 3.3.
On the authorization server side, reject any assertion whose aud isn't exactly your issuer identifier. No partial matches, no lists with extra acceptable values.
Add the client-authentication+jwt typ header once your library supports it, so you can tell new-format assertions from legacy ones while you roll the change out.
Re-test federated and multi-IdP flows specifically — these are the setups most likely to have a client talking to more than one authorization server, which is where the original researchers found the attack.
Because signature-based client authentication only proves who signed the token — it says nothing about where it's valid to use it. The aud claim is the only thing stopping a validly signed assertion from being replayed somewhere else. Make it ambiguous, and you've handed an attacker a way to repurpose a perfectly legitimate signature.
Is your fintech or open banking integration affected?
If your platform does bank-grade login, account aggregation, or payment initiation using FAPI 2.0, assume this applies until proven otherwise. FAPI-conformant deployments typically use private_key_jwt, and many talk to more than one endpoint on the same bank or aggregator's authorization server. In client audits this year, I'm flagging this as a required fix alongside standard OAuth and SAML hardening work — it's the kind of gap a penetration test or a security audit should catch before a regulator or an attacker does.
What should AI agents and machine clients do about this?
Machine-to-machine and agentic systems that use client credentials or private_key_jwt to call APIs on a user's behalf are exposed the same way a browser-based OAuth client is — arguably more, since agents often hold long-lived keys and talk to multiple backend services without a human watching the exchange. If you're building or operating agent infrastructure, treat this the same way you'd treat any other AI agent authentication hardening item: audit every place a signed assertion gets minted and confirm the audience is pinned to a single issuer identifier.
Before vs. after RFC 10070
Aspect
Pre-RFC 10070
Post-RFC 10070
Valid aud values
Token endpoint, or other AS metadata values (ambiguous)
No official CVE has been assigned as of this writing. It was tracked as a protocol-level security disclosure through the OAuth Working Group and the Cryptology ePrint Archive paper, and fixed via the standards process with RFC 10070 rather than a single vendor patch.
Does this affect Auth0, Okta, or other managed identity providers?
It depends on whether their private_key_jwt implementation validated aud strictly before RFC 10070. Check each vendor's changelog for RFC 10070 support and ask directly if you can't find it documented; one of the RFC's own authors works at Okta, which is a good sign major IdPs are moving on this.
Do I need to patch if I only use client_secret_basic or client_secret_post?
No. Audience injection specifically targets signature-based assertion methods — private_key_jwt, JWT Bearer, and SAML Bearer Assertion. Shared-secret authentication methods aren't affected by this particular flaw, though they have their own, separate weaknesses.
Will the old aud format stop working immediately?
No. RFC 10070 is a specification update, not an overnight protocol break. Authorization servers and client libraries are rolling out support gradually, and the explicit typing mechanism exists precisely so both old and new formats can coexist during migration.
Key takeaways
Audience injection attacks exploit ambiguous aud claims in OAuth/OIDC client-assertion JWTs to let a malicious authorization server replay a legitimate client's signed token elsewhere.
They affect OAuth 2.0, OpenID Connect, FAPI 2.0, CIBA and related specs — anything using private_key_jwt, JWT Bearer, or SAML Bearer client authentication.
RFC 10070 (November 2026) fixes it by requiring aud to be the authorization server's issuer identifier only, with explicit client-authentication+jwt typing to ease migration.
Fintech and open banking platforms on FAPI 2.0, and any multi-endpoint or federated identity setup, should treat this as a priority patch, not a nice-to-have.
AI agent and machine-client systems that mint signed assertions are exposed the same way and should be audited the same way.