A finance manager agent delegates a task to a specialized "DB query" sub-agent. For convenience, it passes its full permission set — not a scoped query credential, but its complete access profile, including HR and legal data.
An attacker who can steer the query agent's prompts (through injected instructions in a report template, data file, or query result) now has access to HR records, contract details, and legal documents — far beyond what the delegated database query task required.
An IT admin agent caches SSH credentials during a critical server patch late at night. The patch succeeds. The agent's session doesn't clear. The next morning, a non-admin support engineer interacts with the same agent for a routine task.
The engineer asks the agent to set up SSH access for them. The agent, still holding the admin SSH credentials from the previous session, uses them to create unauthorized access for the engineer — elevating their privileges far beyond their assigned role.