Compromised Entra agent blueprint lets attacker hijack agents across tenants and become Global Admin
Compromising a third-party Entra agent blueprint allows an attacker to obtain tokens for any agent created from that blueprint in any tenant and ultimately gain Global Administrator privileges.
Security & privacy Datadog Security Labs 18 Jun 2026 Attack Prototype evidence
Published as “Entra Agent ID: Inside a cross-tenant agent compromise”
Why it matters
Organizations should treat third-party agent blueprints as high-privilege assets and restrict their creation, credential management, and cross-tenant usage.
Summary
The researchers show how an attacker who controls an Agent ID Administrator can add a secret to a third-party blueprint and use it to authenticate as the blueprint principal in another tenant. They then enumerate agents created from that blueprint, exchange tokens to impersonate a privileged Temporary Access Agent, and use its permissions to set a Temporary Access Pass for a Global Administrator account. The steps are demonstrated using Microsoft Graph and Azure AD token-exchange endpoints, confirming the feasibility of cross-tenant agent compromise.
What they found 1
- A compromised blueprint credential can authenticate as any agent associated with that blueprint in any Entra tenant
“They can then use that credential to authenticate as any agent associated with that blueprint, in any Entra tenant.”
Caveats 6
- The attack requires prior compromise of an Agent ID Administrator role in the initial tenant
- It relies on the presence of a third-party blueprint that is used to create agents in multiple tenants
- Assumes attacker already has Agent ID Administrator privileges
- Requires a third-party blueprint that is shared across tenants
- Relies on Microsoft Graph and token-exchange APIs that may change
- No real-world victim data; performed in a controlled lab environment
What’s new here 4
- Demonstrates cross-tenant takeover of Entra agents via a compromised blueprint credential
- Shows token-exchange technique to impersonate any agent identity created from the blueprint
- Uses Temporary Access Pass to elevate from a privileged agent to Global Administrator
- Highlights the expanded blast radius of third-party agent blueprints compared to applications