T3 · OWASP Agentic AI v1.1

Privilege Compromise

An attacker escalates what an agent can do by exploiting mismanaged roles or overly broad permissions, often just by using rights the agent already holds in unanticipated combinations.

Last reviewed 2026-05-08·Severity heuristic: critical

Definition

Privilege Compromise is the exploitation of mismanaged roles, dynamic permission inheritance, or overly broad scopes to escalate what an agent can do. Unlike conventional privilege escalation, the attack often does not require breaking access control. It only requires the agent to use permissions it already has, in combinations the system never anticipated. Implicit privilege escalation and Confused Deputy failures are the canonical patterns.

What it looks like in practice

Dynamic Permission Escalation. An HR onboarding agent is granted temporary write access to the Active Directory provisioning API for the duration of a new-hire workflow. A misconfiguration in the provisioning service means the elevated access token is cached indefinitely rather than revoked when the workflow completes. An attacker who triggers a second onboarding task via prompt injection finds the agent still holds admin-level directory rights and uses them to create a persistent backdoor account. No single step violated the access control model; the escalation happened because revocation was never enforced.

Cross-System Authorisation Exploitation. A multi-agent HR platform links an onboarding agent to a Finance agent for payroll initialisation. The onboarding agent holds an OAuth token scoped to HR data; the Finance agent holds one scoped to payroll records. When the onboarding agent calls the Finance agent on behalf of a newly created user, the Finance agent treats the request as implicitly authorised by the HR-agent’s identity and applies its own broader scope. An attacker who controls the onboarding agent’s inputs can direct it to trigger Finance-agent actions (such as modifying salary records) that were never in scope for either agent individually. This is the Confused Deputy failure: Finance trusts HR’s identity without independently verifying what was authorised.

Shadow Agent Deployment. A developer testing a new agent in a staging environment uses the same Non-Human Identity (NHI) service account as the production deployment because it is faster than provisioning fresh credentials. The staging agent, running in an environment with weaker network controls, is compromised by an attacker. That attacker now holds production-grade credentials: the staging and production agents share an identity. The attacker deploys a rogue agent process using those credentials, which operates silently with the full permission set of the legitimate production agent while the legitimate agent continues to run normally.

Why it’s dangerous

Agents commonly run under Non-Human Identities (machine accounts, service identities, agent-specific credentials such as Microsoft Entra Agent ID). NHIs may lack session-based oversight, persist far longer than user sessions, and chain through multiple backend systems. Combine that with the agent’s freedom to compose tools in unforeseen sequences, and individually-correct permissions can compose into an unauthorised capability.

Where it manifests

Look at the scopes assigned to Non-Human Identities versus what the agent can actually exercise. Trace delegation chains where one agent invokes another with a different identity. Examine any “on-behalf-of” flow where a user’s authorisation is converted into a service-account action further down the call graph.

Detection signals

Monitor the credential lifecycle and delegation chain for the following signals:

  • Agent NHI tokens whose last-rotated timestamp exceeds the organisation’s stated maximum token lifetime, indicating a revocation gap that may persist elevated permissions longer than intended.
  • An agent process authenticating to a backend service with a token whose original grant scope is wider than the calling function requires. Flag by comparing the token’s JWT scp or policy claims against a pre-declared minimum-scope manifest for each agent task type.
  • An agent identity authenticating from two or more distinct source IPs or process environments within a short window (e.g. both a staging subnet and a production subnet), which is a reliable signal of credential reuse across environments or active theft.
  • Delegation chain events where agent A passes an authorisation context to agent B and agent B’s resulting action touches a resource outside agent A’s own permitted scope. Detect by cross-referencing the caller’s access policy against the callee’s resulting resource access in the audit log.
  • A spike in the number of new privileged-account creation events (e.g. directory write operations) from an agent identity in a short window, which indicates either an unintended loop or an active exploitation of retained admin rights.

OWASP Top 10 for Agentic Applications 2026

The Agentic Top 10 (ASI01 through ASI10) is a separate practitioner-facing publication that maps onto the master Threats & Mitigations threat numbering. T3 is covered by the following Top 10 entries:

  • ASI03Identity & Privilege Abuseprimary

    When an agent acts on a user's behalf it inherits that user's credentials and permissions for the duration of the task. Attackers exploit this by manipulating delegation chains, role inheritance, or agent-to-agent trust, turning a narrowly scoped instruction into a credential that can chain every permission the principal holds, concurrently, in a single agent turn.

Source: OWASP Top 10 for Agentic Applications 2026 (Dec 2025) · the Top 10 is a compass into the master Threats & Mitigations taxonomy, not a replacement for it.

Design principles at stake

When T3 is present, these security design principles are the ones being violated or tested. Each links to the full principle; the mitigations below are how you restore them.

  • Defence-in-DepthPrivilege Compromise succeeds without breaking any access control: it only requires the agent to use permissions it already holds in combinations the system never anticipated. Defence in depth means that correctly-assigned permissions at the identity layer are not the only gate: an orchestrator policy checks whether the current task actually justifies the combination of permissions being invoked, infrastructure egress controls limit what even a legitimately-authorised call can reach, and a separate compliance layer flags when an on-behalf-of flow launders a user authorisation into a service-account action with a scope the user never directly granted.
  • Zero TrustNon-Human Identities persist far longer than user sessions and chain through multiple backend systems, so an admission check at session start cannot cover the sequences of tool calls that compose into an unauthorised capability. Every tool call is a fresh policy evaluation: the sub-agent's token is re-checked against the current task scope; the delegation chain is verified at every hop rather than inherited; and a Shadow Agent that inherits legitimate credentials is caught the moment it attempts a call its own task scope cannot justify.
  • Least PrivilegeThe attack surface is precisely the excess between what the agent is permitted to do and what the current task requires: Dynamic Permission Escalation retains temporary admin privileges through a misconfiguration because no system enforces that 'admin' credentials expire at task boundary. Zero-standing-privilege design, where each action draws a fresh narrowly-scoped short-lived credential for the specific resource and action the task needs, means a misconfiguration that leaves an admin token open can only survive until the token's TTL expires, not until an attacker discovers and reuses it.
  • Containment (blast radius)Privilege Compromise gains its leverage from the combination of credential scope and communication reach: once an agent's Non-Human Identity is exercised across HR and Finance via a Cross-System Authorisation Exploitation, the blast radius spans both systems simultaneously. Microsegmenting agents with allow-listed east-west paths (so a People-data agent's credentials have no route into Finance endpoints regardless of what instructions the agent receives) ensures that individually-correct permissions cannot compose into an unauthorised cross-system capability.
  • Separation of DutiesAn agent that can both request and self-approve an escalation, or that proposes a delegation chain and then executes it, eliminates the independent check that separation of duties is designed to enforce. The planner/executor/verifier split (where the planner holds no execution credentials, the executor performs only actions approved by a task token it did not issue to itself, and the verifier is isolated from the execution path) structurally prevents the implicit privilege escalation pattern where one agent accumulates authority by chaining its own approvals.
  • Least Agency / Minimal AutonomyPrivilege Compromise often does not require an exploit: it requires only that the agent exercise permissions it was over-provisioned with 'just in case.' Limiting each agent to the three-dimensional scope of task x resource x action and demoting autonomy tiers when an agent attempts a combination not justified by the current task means the sequence of individually-authorised steps that composes into an unauthorised capability reaches a gate before any cross-system action completes.
  • Complete MediationA Non-Human Identity that is checked once at admission and then caches its authorisation across a long session can accumulate an effective superset of what any single task required: the delegation chain from HR into Finance is exercised incrementally, with each step individually authorised, until the composite is an on-behalf-of flow that no single authorisation event actually granted. A tool-gateway chokepoint that re-checks every call against the current task's scoped token, with expiry and revocation validated on every invocation, prevents the accumulation pattern that makes cross-system exploitation possible.

Multi-agent variants: OWASP MAS Guide

The OWASP OWASP MAS Threat Modelling Guide v1.0 catalogues 6 named multi-agent variants of T3, anchored to specific MAESTRO layers. Each is a concrete attack pattern that emerges when this threat compounds across agents.

  • L3Negotiation Hijackingextends T12, T3

    Manipulating inter-agent negotiation protocols to reshape outcomes / monopolise resources.

  • L6Data Privacy Violations in Inter-Agent Interactionsextends T3, T8

    Sensitive data leaked during inter-agent exchanges; a concern specific to multi-agent data sharing.

  • L6Indirect Privilege Escalationextends T3, T14

    Agent-specific permissions exploited to execute high-privilege actions on a malicious user's behalf.

  • CLInter-Agent Data Leakage Cascadeextends T12, T3

    Sensitive data leaks agent-to-agent via compromised interactions, creating a system-wide privacy issue.

  • CLPrivilege Compromise (cross-agent)extends T3, T14

    Compromised admin agent exploits legitimate access to create backdoors / modify security settings.

  • CLExcessive Agency / Permission Bypassextends T3, T14

    Chained authorization across MAS lets a malicious user execute beyond their granted permissions.

Source: OWASP MAS Threat Modelling Guide v1.0, §2 Overview of MAESTRO Framework — Extended Threat Scenarios + Cross-Layer table.

Catalogue extensions: Helmwart T18 to T49

This normalized catalogue includes 4 multi-agent entries based on the OWASP MAS Threat Modelling Guide v1.0 that extend T3. The source guide reuses some numbers between worked systems; these Helmwart entries provide stable detail pages, MAESTRO layers, and mitigation coverage.

Red-team pivot: MITRE ATLAS techniques

MITRE ATLAS catalogues adversary techniques against AI systems. Where this OWASP threat has an attacker-perspective counterpart, the ATLAS technique is shown below. That is what a red team would actually be doing on the wire. Use this for detection-signal anchoring, threat-hunting hypotheses, and IR runbooks. Source: mitre-atlas/atlas-data v5.6.0.

© 2026 The MITRE Corporation. ATLAS content is reproduced and distributed with the permission of The MITRE Corporation.

AML.T0012Valid Accountsview on ATLAS ↗

Adversary obtains and abuses legitimate user or service credentials for initial access, persistence, privilege escalation, or defence evasion.

Agentic angle: Agents often run under long-lived service accounts whose blast radius exceeds the original task scope.

AML.T0055Unsecured Credentialsview on ATLAS ↗

Adversary discovers credentials stored in plain configuration files, environment variables, or model context where they should not be exposed.

Agentic angle: Agent configuration files (system prompts, tool descriptors, MCP manifests) are a fresh credential exposure surface.

AML.T0083Credentials from AI Agent Configurationview on ATLAS ↗

Adversary extracts credentials, API keys, or service-account tokens from an agent's configuration files, system prompts, or environment.

AML.T0098AI Agent Tool Credential Harvestingview on ATLAS ↗

Adversary uses access to an AI agent to retrieve credentials stored in or accessible through the agent's connected tools: document stores, code repos, productivity platforms.

Agentic angle: Agent tools aggregate credentials from many integrated services; harvesting them grants lateral movement across the victim's entire connected toolchain.

Sources

Adapted by Helmwart from the OWASP source(s) above underCC BY-SA 4.0(changes: normalized IDs, added MAESTRO-layer, agentic-factor, and mitigation mappings). This entry is licensed CC BY-SA 4.0.