---
title: "CWE-268: Privilege Chaining"
url: https://radicalnotion.ai/cwe/cwe-268
type: cwe
description: "Two distinct privileges, roles, capabilities, or rights can be combined in a way that allows an entity to perform unsafe actions that would not be allowed without that combination."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-268: Privilege Chaining

- **Abstraction:** Base
- **Structure:** Simple
- **Status:** Draft
- **Likelihood of exploit:** High
- **CVEs with this as primary weakness:** 22
- **Of those, in CISA KEV:** 0
- **New in 2026:** 2
- **CWE catalog version:** 4.21

## Description

Two distinct privileges, roles, capabilities, or rights can be combined in a way that allows an entity to perform unsafe actions that would not be allowed without that combination.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | - |
| Implementation | REALIZATION: This weakness is caused during implementation of an architectural security tactic. |
| Operation | - |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Access Control | Gain Privileges or Assume Identity | A user can be given or gain access rights of another user. This can give the user unauthorized access to sensitive information including the access information of another user. |

## Potential mitigations

### Architecture and Design (Separation of Privilege)

Consider following the principle of separation of privilege. Require multiple conditions to be met before permitting access to a system resource.

### Architecture and Design, Operation

Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.

### Architecture and Design, Operation (Environment Hardening)

Run your code using the lowest privileges that are required to accomplish the necessary tasks \[REF-76\]. If possible, create isolated accounts with limited privileges that are only used for a single task. That way, a successful attack will not immediately give the attacker access to the rest of the software or its environment. For example, database applications rarely need to run as the database administrator, especially in day-to-day operations.

## Demonstrative examples

### Example 1

This code allows someone with the role of "ADMIN" or "OPERATOR" to reset a user's password. The role of "OPERATOR" is intended to have fewer privileges than an "ADMIN", but still be able to help users with small issues such as forgotten passwords.

Bad code:

```java
public enum Roles {
    ADMIN,OPERATOR,USER,GUEST
}

public void resetPassword(User requestingUser, User user, String password ){
    if(isAuthenticated(requestingUser)){
        switch(requestingUser.role){
            case GUEST:
                System.out.println("You are not authorized to perform this command");
                break;

            case USER:
                System.out.println("You are not authorized to perform this command");
                break;

            default:
                setPassword(user,password);
                break;
            }
        }

    else{
        System.out.println("You must be logged in to perform this command");
    }
}
```

This code does not check the role of the user whose password is being reset. It is possible for an Operator to gain Admin privileges by resetting the password of an Admin account and taking control of that account.

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2005-1736 | Chaining of user rights. |
| CVE-2002-1772 | Gain certain rights via privilege chaining in alternate channel. |
| CVE-2005-1973 | Application is allowed to assign extra permissions to itself. |
| CVE-2003-0640 | "operator" user can overwrite usernames and passwords to gain admin privileges. |

## Real CVEs with this weakness (sample of 12 of 22)

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2024-4877 | Unprotected Alternate Channel in Siemens SINEMA Remote Connect Client | high | 8.8 | - | No | 2025-04-03 |
| CVE-2023-0759 | Privilege Chaining in cockpit-hq/cockpit | high | 8.8 | - | No | 2023-02-09 |
| CVE-2018-11766 | Arbitrary Command Execution in Hadoop | high | 8.8 | - | No | 2018-11-27 |
| CVE-2026-32325 | Privilege chaining in ServerView Agents for Windows | high | 8.5 | - | No | 2026-06-01 |
| CVE-2025-64701 | QND vulnerable to privilege escalation | high | 8.5 | - | No | 2025-12-11 |
| CVE-2025-7973 | Rockwell Automation FactoryTalk® ViewPoint Privilege Escalation Vulnerability | high | 8.5 | - | No | 2025-08-14 |
| CVE-2025-2903 | Privilege Chaining in Delphix | high | 8.5 | - | No | 2025-04-17 |
| CVE-2024-1299 | Privilege Chaining in GitLab | high | 8.1 | - | No | 2024-03-07 |
| CVE-2026-3888 | Local Privilege Escalation in snapd | high | 7.8 | - | No | 2026-03-17 |
| CVE-2024-47045 | The installer of e-Tax software(common program) vulnerable to privilege escalation | high | 7.8 | - | No | 2024-09-26 |
| CVE-2023-5839 | Privilege Chaining in hestiacp/hestiacp | high | 7.8 | - | No | 2023-10-29 |
| CVE-2019-3844 | systemd: services with DynamicUser can get new privileges and create SGID binaries | high | 7.8 | - | No | 2019-04-26 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-269](https://radicalnotion.ai/cwe/cwe-269) | Improper Privilege Management |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| PLOVER | Privilege Chaining | - | - |

## Frequently asked questions

### What is CWE-268?

Two distinct privileges, roles, capabilities, or rights can be combined in a way that allows an entity to perform unsafe actions that would not be allowed without that combination.

### What CVEs are caused by CWE-268?

22 recorded CVEs are attributed to CWE-268, including CVE-2024-4877, CVE-2023-0759 and CVE-2018-11766.

### How do you prevent CWE-268?

Consider following the principle of separation of privilege. Require multiple conditions to be met before permitting access to a system resource.

### What are the consequences of CWE-268?

Exploiting CWE-268 can lead to: Gain Privileges or Assume Identity.

### Is CWE-268 actively exploited?

22 recorded CVEs are caused by CWE-268; none are currently in CISA's KEV catalog of actively exploited flaws.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/268.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-268). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
