What is Privilege Escalation?

Privilege escalation occurs when a user, application or process obtains access or capabilities beyond those it was intended to have. In a security incident, that may mean a standard account gaining administrator privileges, or a user accessing another user's information through an authorisation failure.
Not every elevation is an attack. An administrator may legitimately approve a temporary increase in privileges to install software or perform maintenance. The security problem arises when access crosses a boundary without appropriate authorisation, including when a system grants more access than intended.
How does privilege escalation work?
A system assigns identities and permissions to users, services and processes. A weakness in how those permissions are configured or enforced can allow an actor to carry out an action outside the intended boundary. The weakness might be a software vulnerability, an overly broad role, an exposed administrative credential or an application that fails to check ownership of a requested record.
The illustration shows a simplified security incident: an actor has an initial position, encounters a weakness, obtains unintended access and can potentially affect protected resources. Controls such as least privilege and monitoring reduce opportunities and help identify suspicious changes. A real incident may involve a different sequence or several systems.

MITRE ATT&CK's privilege escalation tactic describes techniques adversaries use to obtain higher-level permissions. Initial access alone does not mean escalation has occurred, and an escalation does not necessarily give control of every system on a network.
Vertical and horizontal privilege escalation
Type | What changes | Illustrative example |
|---|---|---|
Vertical | An actor obtains a higher level of privilege | A standard account gains an administrative capability it was not granted |
Horizontal | An actor accesses another peer's resources without permission | One customer account can view another customer's records |
Legitimate elevation | A permitted action temporarily uses higher privileges | An administrator authorises a maintenance task under policy |
Terminology varies. MITRE ATT&CK uses privilege escalation for gaining higher-level permissions; horizontal unauthorised access is also commonly discussed as an authorisation or access control failure. The key question is which boundary was crossed, not just the label.
A person can be authenticated correctly and still be denied an action. Authentication checks an identity or credential, while access control determines which actions and resources are permitted.
What are privileges?
A privilege is an ability granted by a system or policy. Depending on the environment, it may allow someone to read a file, change a router setting, install software, manage accounts or administer a cloud service. Privileges can belong to people, applications, automated jobs and services, not just human users.
Administrator and root accounts often have broad powers, but a sensitive permission does not have to be called administrator. The ability to read customer records, change billing details or issue access tokens may be consequential even within an otherwise ordinary account. Effective access depends on the system's combined roles, groups, resource rules and configuration.
What can cause privilege escalation?
Excessive or incorrect permissions
An account or service may have more access than its legitimate task requires. A role change, inherited group membership or an old permission can leave a route to sensitive actions. That is a configuration or governance problem even if no software vulnerability is present.
Authorisation failures in applications
An application may check that a user is signed in but fail to verify whether that user is allowed to access a particular record or action. Hiding a button in a browser is not enough if the server accepts an unauthorised request. The server needs to evaluate permissions for each relevant operation and resource.
Vulnerabilities in privileged software
Software operating with elevated rights can contain a flaw that lets an unauthorised party influence what it does. The exact impact depends on the vulnerability, access prerequisites, patch level and configuration. A vulnerability does not automatically mean an attacker has succeeded.
Stolen credentials or tokens
An attacker who obtains an administrator credential or an access token with broad privileges may be able to act within that identity's existing rights. This can be described as gaining privileged access even when no software flaw elevates the original account. Investigations should identify whose authority was used and how it was obtained.
Untrusted changes to configuration or automation
Privileged services, scheduled tasks and automation depend on configuration, code and credentials. If a less trusted actor can alter something that a privileged process later relies on, the resulting action may run with inappropriate authority. Defences include restricting who can change those dependencies and reviewing how services obtain their permissions.
MITRE's CWE-269 describes improper privilege management as a weakness in assigning, modifying, tracking or checking privileges. It is a broad class, not a specific vulnerability affecting every product.
A practical broadband and network example
Imagine a small UK business where staff use a customer portal, an administrator manages the router and a monitoring service checks network status. Each has different responsibilities. A staff member should not automatically be able to change router settings simply because they can read a status dashboard.
Situation | Intended boundary | What to investigate if crossed |
|---|---|---|
Staff member views a dashboard | Read only the permitted information | Whether a role or API permission also permits changes |
Router administrator changes settings | Only authorised administrators can modify configuration | Unexpected administrator accounts or changes |
Monitoring application checks status | Access only to required resources and actions | Overly broad token scopes or service permissions |
Customer signs in to a portal | Access only their own account and records | Whether server-side ownership checks are enforced |
This is an illustrative model, not a claim about a particular provider or router. The broadband connection carries the traffic; its speed or technology does not by itself determine whether the application enforces permissions correctly.
What can an attacker do after gaining privileges?
The outcome depends on the access gained and the surrounding controls. Higher privileges may allow changes to configuration, access to sensitive data, creation of accounts, disruption of services or movement towards other systems. Access to another user's data can cause harm even without administrator rights.
Greater access can also affect the quality of evidence: an attacker with sufficient control may attempt to alter logs or security settings. That is why monitoring should protect records and alert on meaningful changes, while incident responders consider the possibility that a compromised system's local view is incomplete.
Privilege escalation is not synonymous with remote code execution, malware or data theft. Those events can be connected, but each describes a different action or outcome. Confirm the actual evidence before drawing conclusions.
How can privilege escalation be prevented?
Apply least privilege: give each person and service only the access required for its task, and remove access when it is no longer needed.
Use separate administrative accounts where appropriate, restrict privileged operations and review group memberships, delegated roles and service identities.
Patch supported operating systems, applications, routers and security tools promptly according to risk and the supplier's guidance.
Protect administrative credentials and tokens, enable suitable multi-factor authentication and maintain secure recovery processes.
Enforce authorisation on the server for every relevant request and resource. Deny access by default when no rule permits it.
Restrict who can modify privileged service configuration, automation, software and their dependencies.
Monitor privilege changes, unusual administrative actions and access to sensitive resources. Protect logs and investigate alerts in context.
Test access boundaries using approved accounts and scenarios, including another user's resources, without exposing production data unnecessarily.
The OWASP authorisation guidance recommends least privilege, denying by default and validating permissions on every request. A role label alone is not proof that each action is properly constrained.
How do roles and attributes affect the risk?
Role-based access control assigns permissions through roles such as reader or administrator. Attribute-based access control can also consider conditions such as the resource owner, organisation, device or time. Either model can fail if its policy is too broad, incorrectly implemented or not checked on a sensitive operation.
A useful test asks three questions: who is making the request, what action are they attempting, and which specific resource does it affect? A user might be allowed to read their own account but not another customer's account, even though both users have the same role. Our RBAC guide and ABAC guide explain these approaches.
How can you recognise a possible incident?
Signals can include an unexpected role change, a new administrator account, a service using permissions it did not previously need, unexplained configuration changes or access to records outside a user's usual responsibilities. Alerts are clues rather than proof: legitimate maintenance, a deployment or a planned access change can produce similar activity.
Compare the event with approved changes, identity and session records, relevant system logs and the resource affected. Establish when access was granted, whether it was used and which systems were involved. Avoid making assumptions about the cause from one alert alone.
What should you do if you suspect privilege escalation?
Follow the organisation's incident response process and involve the authorised security or IT team. Preserve relevant evidence and record the time, affected accounts, systems and observed changes. Contain access in a way appropriate to the incident, which may include disabling a compromised account, revoking credentials or isolating an affected system.
Review privileged accounts, token grants, configuration changes and active sessions. Remove unauthorised access, correct the underlying weakness, apply relevant updates and verify that the affected systems are trustworthy before restoring normal access. Changing a password alone may not remove an attacker's active sessions or persistence, and the appropriate response depends on the evidence.
For a home router, use the manufacturer's or provider's official support route if you cannot verify an unexpected change. Preserve configuration details where practical before a reset; a reset can remove useful evidence and interrupt connected devices.
Is privilege escalation always caused by a vulnerability?
No. An exploit of a software flaw is one possible cause, but excessive permissions, a compromised administrator account, an unsafe delegation or missing resource ownership checks can also give someone unintended access. The remediation needs to address the actual path, not just the resulting account name.
Similarly, a valid access token can carry permissions that are too broad for an application. A token can be technically valid while an application's overall access design still permits more than intended.
Frequently asked questions
Is privilege escalation always malicious?
No. A system can legitimately elevate privileges for an approved task. In security incidents, the term commonly refers to obtaining or using access beyond what was authorised.
What is vertical privilege escalation?
It is gaining a higher level of privilege than intended, such as a standard user obtaining an administrative capability without authorisation.
What is horizontal privilege escalation?
It commonly describes unauthorised access to another user or peer's resources at a similar privilege level, often through an access control failure.
Does a strong password prevent privilege escalation?
A strong, unique password helps protect an account but cannot fix excessive permissions, a software vulnerability or missing authorisation checks. Multi-factor authentication and other controls also matter.
Can a service account be affected?
Yes. Applications and automated services have permissions too. An overly privileged or compromised service identity can affect sensitive systems and data.
Does administrator access mean access to everything?
Not necessarily. Rights depend on the system and its boundaries. A local administrator may not automatically have privileges in a separate cloud service or another network.
Does privilege escalation make broadband faster?
No. It concerns access rights and security, not the capacity or speed of a broadband line.
Key takeaway
Privilege escalation is about crossing an intended access boundary. Understand which identity gained which capability, protect privileged credentials, enforce permissions at the resource and maintain a tested response for unauthorised changes.

