What is agent privilege abuse?
Agent privilege abuse is the use of system, data and tool permissions an AI agent holds or inherits from a user beyond the intended task, by misleading the agent, reusing credentials or stretching permissions out of scope; it ranks third in OWASP's 2026 risk list for agentic applications as identity and privilege abuse.
Unlike excessive agency, a weak design granting the agent more rights than needed, privilege abuse is the misuse of those rights, excessive or not. Excessive agency magnifies the impact of abuse.
- Topic
- AI security
- Also known as
- Identity and privilege abuse
How agent privilege abuse works
- The agent inherits the rights of a user or service account for a task.
- A prompt injection, malicious document or misleading tool output steers it to work outside the task.
- With inherited rights the agent reaches out-of-scope data, changes records or passes its rights to another agent.
- Credentials left in context or memory can be used in later tasks too.
In more detail
The confused deputy problem and permission intersection
Agent privilege abuse is often a classic confused deputy problem: the agent holds legitimate authority to read internal systems, while untrusted inputs hijack its intent. Mitigating this requires separating the caller's identity from the agent's workload identity and computing the effective permission as the intersection of both (least-privilege intersection) rather than the union.
Task-scoped short-lived tokens (RFC 8693)
In production, agents should never reuse raw user bearer tokens or long-lived API keys across steps. Instead, architectures use OAuth 2.0 Token Exchange (RFC 8693) or On-Behalf-Of (OBO) flows to mint short-lived, audience- and scope-restricted tokens bound to a single task or tool invocation.
Transitive privilege leakage in multi-agent chains
In multi-agent pipelines, passing credentials or broad delegated tokens from an orchestrator to sub-agents creates transitive privilege escalation paths. Each hop should enforce explicit delegation depth limits, attenuate scopes downstream and carry verifiable provenance claims showing both the originating human principal and every intermediate agent.
Policy enforcement at the tool and MCP server boundary
When agents connect to tools via protocols such as Model Context Protocol (MCP), authorisation must be enforced at the MCP server and policy-decision-point (PDP) boundary rather than relying on model instructions. Standardising server-side OAuth 2.1 checks and resource-scoped access controls prevents a compromised agent context from bypassing policy.
Commonly confused terms
| Term | How it differs |
|---|---|
| AI excessive agency | Excessive agency (OWASP LLM06) is a static design flaw where an agent is granted overly broad permissions or functions; agent privilege abuse (OWASP ASI03) is the runtime exploitation or misuse of permissions, whether excessive or minimally scoped, via prompt injection, credential reuse or delegation flaws. |
| Tool misuse | Tool misuse focuses on using an allowed tool with harmful parameters or unintended frequency (such as running destructive queries or exfiltrating via outbound webhooks); privilege abuse specifically targets identity boundaries, cross-user credential leakage and unauthorised permission escalation across systems or agents. |
Why agent privilege abuse matters for on-premises AI
As agents act for employees in company systems, an agent's permissions become the widest door an attacker can reach. Even in air-gapped settings, unlimited read and write scope can cause internal leaks or unauthorised changes. Core controls are narrow, short-lived permissions per task, rechecking the user's rights on every action, a separate agent identity, never putting credentials in context and logging every action.
A bank's internal audit support agent reaches customer records with read-only rights; when a hidden instruction in a reviewed document steers it to export records, the export is refused for lack of permission and the event is reported to security.
Common questions
How does agent privilege abuse differ from excessive agency?
Excessive agency is granting an agent more rights than needed. Privilege abuse is using its rights beyond their purpose; excess magnifies the harm.
How is agent privilege abuse prevented?
With narrow, short-lived permissions per task, rights checks on every action, a separate agent identity and logging every action.
Related terms
- AI excessive agency
- Delegated agent authorisation
- AI agent identity
- Agent impersonation
- Prompt injection
- AI audit log
Sources
In the glossary: Glossary, A to C