Dev48
Language
  • About
  • Services
  • Industries
  • Technologies
  • Articles
  • Contacts
Book a call
    Home/Articles/Blueprint inheritance abuse in entra agent id a hidden attack surface
Dev48
info@dev48.org+375 29 320-40-96WhatsApp@isky_by

© 2026 · All rights reserved.

Blueprint Inheritance Abuse in Entra Agent ID: A Hidden Attack Surface

Source: Qualys•December 2, 2026 at 05:52 AM

Blueprint Inheritance Abuse in Entra Agent ID: A Hidden Attack Surface

Key Takeaways One consent now covers many agents. Permissions approved on a parent Blueprint automatically flow to every child agent, including those created later, without per-agent consent. The riskiest object is the hardest to see. Blueprints don’t appear in Enterprise Applications or…

Key Takeaways

  • One consent now covers many agents. Permissions approved on a parent Blueprint automatically flow to every child agent, including those created later, without per-agent consent.
  • The riskiest object is the hardest to see. Blueprints don’t appear in Enterprise Applications or App Registrations, and child agents’ Overview pages show 0 permissions.
  • Standard detections stay silent. Inherited permissions don’t trigger the consent or role-assignment events that security tools monitor.
  • Control the parent, control the family. The Blueprint holds both the permissions and the credentials for its children, so an attacker can act as any child, create new pre-loaded agents, and have the activity logged under the child’s name.
  • It’s by design, so defense is about governance. Treat Blueprints as Tier-0 assets, keep inherited permissions minimal, grant sensitive access per agent, and monitor inheritablePermissions changes and the xms_par_app_azp claim.

Microsoft Entra Agent ID introduces a “Blueprint” model that changes how application permissions are granted: instead of a one-to-one grant, permissions now follow a one-to-many inheritance structure. Qualys Threat Research Unit (TRU) researchers found that a single admin consent on a parent Blueprint automatically flows to all child agents. This happens without per-agent consent events, without triggering standard OAuth-abuse detections, and while the Blueprint remains hidden from traditional Enterprise Application administrative views.

For CISOs, this creates a dangerous visibility gap in access reviews. For security researchers, it’s a novel mechanism: control of a single parent object grants highly privileged, inheritable access to an entire family of automated agents.

The Core Assumption: Consent is No Longer Per-Application

Entra’s permission model has always rested on a simple one-to-one principle: an application has access only because an administrator granted it directly to that specific application. Delegated permissions are granted via a consent grant, and application permissions are assigned through an app role assignment. Both sit on the application’s own record, generate a distinct audit event, and can be revoked in one place.

Access reviews, consent policies, and OAuth abuse detections all depend on this one-to-one relationship. Agent ID changes it to a one-to-many model.

The Observation: The Parent is Hard to Find

To test this, Qualys TRU set up a lab tenant and created a sample Blueprint named hr-copilot-blueprint, representing the parent for an HR assistant agent. Before assigning any permissions, we checked whether an admin could find it in the usual place.

An access review built on Enterprise Applications or App Registrations won’t see this object. Yet it still holds credentials like any other app.

The object that will become the source of every child’s permissions is the hardest one to find.

The Architecture: Parents, Children, and One Trust Anchor

Five components matter here.

Two trust relationships meet at the Blueprint. Permissions flow down to every child through inheritance, and credentials flow down the same way through FMI. Whoever controls the Blueprint controls both.

The Hypothesis

If every child trusts the parent, the parent is the target.

  • Documented: Child agents inherit permissions declared inheritable on their Blueprint, and they authenticate through the Blueprint’s credential.
  • Hypothesis: Whoever can change a Blueprint’s inheritable policy, or holds its credential, effectively holds the inherited permissions of every child, including children created later, with no per-agent consent event for an administrator to review.
  • Question: Does the admin center make this visible, and if so where?

The Experiment: Declare Once, Inherit Everywhere

Step 1: Declare Permissions As Inheritable

Microsoft exposes a dedicated endpoint: /applications/{id}/microsoft.graph.agentIdentityBlueprint/inheritablePermissions.

We used it to declare three Microsoft Graph permissions an attacker would value: Files.Read.All, Mail.Read and Directory.Read.All.

Step 2: Try the Classical Grant Path

For comparison, we attempted a direct appRoleAssignments grant against the Blueprint Principal as a Privileged Role Administrator.

The familiar, audited grant path is closed for this object type. Whatever a Blueprint passes down travels through the inheritance policy, not through the mechanism most tooling monitors.

Step 3: Inspect the Parent

Step 4: Inspect the Children

We opened each child agent and checked the Grant source and Granted by columns.

Entra attributes the Blueprint’s consented permissions to every child. The children never went through consent, the only “Granted by” value is a generic “An administrator”, and the child’s own Overview still reports 0 permissions.

Potential Attack Path Scenarios

An adversary who compromises a Blueprint gains access to every agent beneath it. That first step doesn’t need to be sophisticated. In the scenario shown in Figure 13, a simple phishing attack allows the attacker to hijack a Blueprint owner’s authenticated session. From there, they can create a rogue child agent under a trusted Blueprint that inherits previously approved Microsoft Graph permissions, including access to sensitive SharePoint files and directory data.

The execution chain is highly evasive:

  • The attacker gains control of a Blueprint via a privileged role, owner account, or a compromised secret.
  • The attacker declares high-value Microsoft Graph scopes as inheritable.
  • Child agents immediately reflect these inherited permissions, without generating per-child consent events.
  • Using the Blueprint’s credentials via FMI, the attacker mints an access token as the child agent.
  • The attacker calls Microsoft Graph APIs using the child’s token.
  • Microsoft Entra ID and Graph audit logs attribute the malicious activity entirely to the child agent, shielding the parent Blueprint.

Because the parent holds the implicit CreateAsManager role, an attacker can also spawn new child agents that arrive pre-loaded with the malicious permission set.

Why This Matters

The grant moved, and the review didn’t follow it.

  • Consent is decoupled from the identity that uses it. One admin consent on a Blueprint becomes N permission sets on N agents. Reviewing any single agent finds inherited permissions with no grant event of their own.
  • The parent is the hardest object to see. The source of every child’s permissions is missing from Enterprise Applications and App Registrations, and the children’s Overview pages report zero permissions.
  • The audited path is closed, so the unaudited one gets used. Classic appRoleAssignments to Blueprint principals are rejected. Detections keyed to new role assignments or consent grants won’t fire when permissions are granted through inheritance.
  • Permissions and credentials share one anchor. The Blueprint is the source of the children’s permissions and authentication, so a single compromised object affects the whole family, and each child carries the activity in the logs.
  • The parent holds a role nobody granted. AgentIdentity.CreateAsManager shows as Implicit, and we found no admin path to revoke it.

Detection Opportunities

Standard detections keyed to new role assignments or consent grants won’t fire when permissions arrive through inheritance. Security engineering teams should pivot to these signals instead:

  • Configuration Signals: Treat any write operation to a Blueprint’s inheritablePermissions endpoint as a privileged, high-risk policy change. Alert immediately when mail, file, or directory-wide read permissions are added.
  • Identity Signals: Explicitly inventory agentIdentityBlueprint and agentIdentityBlueprintPrincipal subtypes, since traditional administrative pages miss them. Track Blueprint owner lists carefully.
  • Runtime Signals: Tokens issued to child agents carry the xms_par_app_azp claim, which points back to the parent Blueprint’s app ID. Log this claim at your custom APIs and gateway to trace rogue child activity back to the compromised Blueprint.
  • Attack-Path Correlation: Build correlation rules that flag a Blueprint owner change or inheritable permission followed shortly by the creation of a new child agent.

Strategic Mitigation for CISOs

To secure this new hierarchy, identity teams must enforce strict boundaries around Blueprints:

  • Never Consent Broadly on Blueprints: Consent on a Blueprint applies to all current and future children, so keep inheritable permissions to strictly minimal.
  • Grant Exceptions Directly: Where an agent need specific access, grant it to that individual agent. This adds administrative overhead, but keeps the access visible and independently revocable.
  • Isolate by Sensitivity: Deploy at least one Blueprint per environment or business function. This limits the number of agents share a single permission set and credential anchor.
  • Treat Blueprints as Tier-0 Assets: Manage Blueprint credentials and owners as top-tier privileged assets. Vault secrets, rotate them frequently (rotation impacts all child agents at once), and mandate Privileged Identity Management (PIM) for owner changes.

The Broader Lesson: Follow the Grant, Not the Identity

The interesting part isn’t that a parent passes permissions to its children; Microsoft designed it to work that way. It’s that consent, credentials, and visibility each moved to a different object. Consent sits on a Blueprint that the usual blades don’t show. Credentials belong to that same Blueprint. And the permissions appear on children whose Overview pages say they have none.

Each piece works as intended. Together, they make one parent the most valuable identity in the family and the least reviewed. As identity platforms add hierarchy, the question for every agent is no longer just “What was this granted?” but “What does it inherit, from whom, and who controls that?”

Contributors

  • Viren Chaudhari, Lead Threat Research Engineer, Malware Detection Solutions
← All articles

What this article says

More in Cybersecurity

All →
PwC and Armadin announce collaboration to strengthen cyber defenses
PwC

PwC and Armadin announce collaboration to strengthen cyber defenses

Anthropic's lattice cryptography papers: Frequently asked questions about what they mean for post-quantum security
Tenable

Anthropic's lattice cryptography papers: Frequently asked questions about what they mean for post-quantum security

How the Root Cause Agent finds a missing environment variable in minutes, not hours • Sumo Logic
Sumo Logic

How the Root Cause Agent finds a missing environment variable in minutes, not hours • Sumo Logic

Did AI break post-quantum encryption? Cutting through the noise on Anthropic's research
F5

Did AI break post-quantum encryption? Cutting through the noise on Anthropic's research

Built for scale: Okta Workflows Dedicated Infrastructure now Generally Available
Okta

Built for scale: Okta Workflows Dedicated Infrastructure now Generally Available

The Good, the Bad and the Ugly in Cybersecurity - Week 48 (2026)
SentinelOne

The Good, the Bad and the Ugly in Cybersecurity - Week 48 (2026)

More from Qualys

What Two Million Canary Prompts Reveal About AI Supply Chain Security
Qualys

What Two Million Canary Prompts Reveal About AI Supply Chain Security

LiteLLM 1.107.0 Supply Chain Attack: How to Secure AI Gateways Beyond Code Signatures
Qualys

LiteLLM 1.107.0 Supply Chain Attack: How to Secure AI Gateways Beyond Code Signatures

Upgrade to Qualys’ Learning Management System (LMS)
Qualys

Upgrade to Qualys’ Learning Management System (LMS)

A Technical Guide to Mitigate Java4Shell with TruRisk Eliminate
Qualys

A Technical Guide to Mitigate Java4Shell with TruRisk Eliminate

Third-Party JavaScript Is Part of Your Attack Surface: Lessons from a Recent Supply-Chain Attack
Qualys

Third-Party JavaScript Is Part of Your Attack Surface: Lessons from a Recent Supply-Chain Attack

NGINX2Root: Five nginx Flaws, Led by CVE-2026-123007. How to Find, Mitigate, and Patch Now
Qualys

NGINX2Root: Five nginx Flaws, Led by CVE-2026-123007. How to Find, Mitigate, and Patch Now