Privilege Escalation Explained: How Attackers Climb and How Least Privilege Stops Them
Privilege escalation is when someone gets more access than they were meant to have. OWASP puts it plainly: it “occurs when a user gets access to more resources or functionality than they are normally allowed.” It comes in two directions. Vertical escalation climbs up, from a normal user to an admin. Horizontal escalation moves sideways, from your account into another user’s data at the same level. Least privilege is the design rule that limits both: give every person, service and AI agent only the access its task needs, for only as long as it needs it, so a stolen account cannot become a stolen company.
For a startup this is mostly an identity problem, not an exploit problem. Attackers who get in through a phished password, a leaked token or an unpatched server usually escalate by abusing accounts, roles and permissions that were already too broad. Fix the breadth and most escalation paths close.
Vertical vs horizontal privilege escalation
| Vertical | Horizontal | |
|---|---|---|
| Direction | Up, to a more privileged role | Sideways, to a peer’s resources |
| OWASP definition | Accessing “resources granted to more privileged accounts” | Accessing “resources granted to a similarly configured account” |
| Typical example | A support agent’s account gains admin rights in the cloud console | A customer changes an ID in a URL and sees another customer’s invoices |
| Main defence | Separate admin accounts, just-in-time elevation, no standing admin | Authorization checks on every object, deny by default |
Both definitions come from the OWASP Web Security Testing Guide. Broken access control, which includes both, sits at the top of the OWASP Top 10.
How attackers climb
MITRE ATT&CK describes the privilege escalation tactic as the adversary “trying to gain higher-level permissions” (TA0004). The techniques that matter most in identity systems:
- Using valid accounts (T1078). Stolen or bought credentials for an account that already has power. MITRE notes adversaries “may abuse inactive accounts”, such as those of former employees.
- Manipulating accounts (T1098). Adding themselves to an admin group, attaching a new key to a service account, or granting an app more permissions.
- Abusing elevation controls (T1548). Getting around the mechanisms meant to gate elevation, such as sudo rules or approval prompts.
- Exploiting software flaws (T1068). A local kernel or application bug that hands out higher privileges.
- Talking the help desk into it. CISA’s advisory on Scattered Spider describes calls made “to convince IT help desk personnel to reset passwords and/or transfer MFA tokens” (AA23-320A).
Verizon’s 2026 Data Breach Investigations Report found exploitation of vulnerabilities is now the most common first step into a breach, at 31%, ahead of credential abuse at 13% (DBIR 2026). The way in has shifted. What attackers do next has not: they look for accounts and permissions that let them reach more.
Two escalations, in the companies’ own words
Uber, 2022. Uber says an attacker likely bought a contractor’s corporate password on the dark web, then sent repeated MFA prompts until the contractor accepted one. Access to several employee accounts “ultimately gave the attacker elevated permissions to a number of tools, including G-Suite and Slack” (Uber security update). One push-approved login became broad internal access. The Scam Atlas case file has the timeline.
Microsoft, 2024. Microsoft says the Midnight Blizzard actor got in by password-spraying a legacy, non-production test tenant account that had no MFA. From there it compromised “a legacy test OAuth application that had elevated access to the Microsoft corporate environment,” created more OAuth apps, and granted them a role that “allows access to mailboxes” (Microsoft Security). The escalation path was a forgotten app with more access than anyone needed.
Neither case needed an exotic exploit. Both turned on accounts and applications holding standing access.
What least privilege actually means
NIST’s control AC-6 says to “employ the principle of least privilege, allowing only authorized accesses for users (or processes acting on behalf of users) that are necessary to accomplish assigned organizational tasks” (NIST SP 800-53). Zero trust adds time to it: access is granted per session, “with the least privileges needed to complete the task,” and signing in to one resource does not grant access to another (NIST SP 800-207).
In practice that is three questions for every identity, human or not: what can it touch, for how long, and who noticed when it used that power.
It is also where most organisations slip. CISA and NSA list “improper separation of user/administrator privilege” as the second most common misconfiguration they find, including “excessive account privileges” and “elevated service account permissions” (AA23-278A). The DBIR 2026 adds that for weak passwords and permission misconfigurations, fixing half of the findings took “almost eight months.”
The least privilege checklist for startups
Ordered so the first items cost an afternoon and the later ones fit a growing team.
- Separate admin accounts from daily accounts. Nobody reads email or browses with an account that can change production. CISA warns that using an elevated account “for normal day-to-day, non-administrative tasks increases the account’s exposure.”
- Put phishing-resistant MFA on every admin path, and require it again to elevate. A password plus a push prompt is what Uber’s attacker beat.
- Deny by default. New roles start with nothing; add only the actions and resources a task needs. AWS frames it as granting “only the permissions required to perform a task” (AWS IAM best practices).
- Remove standing admin. Make admin roles eligible rather than permanent, activated just in time, time-bound, with a reason and an approval. Microsoft Entra Privileged Identity Management offers “time-based and approval-based role activation” for exactly this (Microsoft Learn).
- Use short-lived credentials. Temporary credentials for people and workload identity for services, instead of long-lived access keys sitting in laptops and CI variables.
- Scope service accounts, OAuth apps and AI agents narrowly, and keep an inventory. Midnight Blizzard escalated through a legacy app nobody had cut back. The same applies to agents: an agent should hold a scoped, revocable credential, not a copy of an admin’s token.
- Prune what is unused. Remove inactive accounts on a schedule and trim permissions using last-used data. Google Cloud’s role recommender compares granted permissions against those used in the last 90 days (Google Cloud).
- Set ceilings. Organisation-level policies and permission boundaries cap what any role can be granted, even by a mistaken admin.
- Harden the help desk. Require identity verification before any password or MFA reset, and log every one.
- Log every privileged action and review access quarterly. NIST’s AC-6 enhancements call for logging the use of privileged functions and reviewing user privileges.
Where PAM fits
Privileged access management (PAM) is the tooling that runs items 4, 5 and 10 at scale: vaulted credentials, just-in-time elevation, session recording and approval workflows. A 20-person startup can do most of this with its cloud provider’s native controls and an identity provider. Buy PAM when the number of admins, servers and service accounts outgrows a spreadsheet and a quarterly review. For the buying side, see IGA, PAM or ITDR: what to buy first and the PAM buyer’s guide.
Frequently asked questions
What is privilege escalation in simple terms?
Getting more access than you were given. Vertical escalation means gaining a higher role, such as admin. Horizontal escalation means reaching another user’s data at your own level.
What is the principle of least privilege?
Every user, service and agent gets only the access its task requires, and nothing more. Zero trust adds that access should be granted per session and expire, rather than standing forever.
Is just-in-time access the same as PAM?
Just-in-time access is one practice: admin rights are activated when needed and expire. PAM is the broader tooling that delivers it, along with credential vaulting, session recording and approvals.
How do you prevent privilege escalation?
Separate admin accounts, require phishing-resistant MFA to elevate, deny by default, remove standing admin rights, scope service accounts and apps narrowly, prune unused access, and log every privileged action. In web applications, check authorization on every request and every object.

