---
title: "CWE-267: Privilege Defined With Unsafe Actions"
url: https://radicalnotion.ai/cwe/cwe-267
type: cwe
description: "A particular privilege, role, capability, or right can be used to perform unsafe actions that were not intended, even when it is assigned to the correct entity."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-267: Privilege Defined With Unsafe Actions

- **Abstraction:** Base
- **Structure:** Simple
- **Status:** Incomplete
- **CVEs with this as primary weakness:** 79
- **Of those, in CISA KEV:** 1
- **New in 2026:** 27
- **CWE catalog version:** 4.21

## Description

A particular privilege, role, capability, or right can be used to perform unsafe actions that were not intended, even when it is assigned to the correct entity.

## 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 access restricted functionality and/or sensitive information that may include administrative functionality and user accounts. |

## Potential mitigations

### 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 intends to allow only Administrators to print debug information about a system.

Bad code:

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

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

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

While the intention was to only allow Administrators to print the debug information, the code as written only excludes those with the role of "GUEST". Someone with the role of "ADMIN" or "USER" will be allowed access, which goes against the original intent. An attacker may be able to use this debug information to craft an attack on the system.

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2002-1981 | Roles have access to dangerous procedures (Accessible entities). |
| CVE-2002-1671 | Untrusted object/method gets access to clipboard (Accessible entities). |
| CVE-2004-2204 | Gain privileges using functions/tags that should be restricted (Accessible entities). |
| CVE-2000-0315 | Traceroute program allows unprivileged users to modify source address of packet (Accessible entities). |
| CVE-2004-0380 | Bypass domain restrictions using a particular file that references unsafe URI schemes (Accessible entities). |
| CVE-2002-1154 | Script does not restrict access to an update command, leading to resultant disk consumption and filled error logs (Accessible entities). |
| CVE-2002-1145 | "public" database user can use stored procedure to modify data controlled by the database owner (Unsafe privileged actions). |
| CVE-2000-0506 | User with capability can prevent setuid program from dropping privileges (Unsafe privileged actions). |
| CVE-2002-2042 | Allows attachment to and modification of privileged processes (Unsafe privileged actions). |
| CVE-2000-1212 | User with privilege can edit raw underlying object using unprotected method (Unsafe privileged actions). |
| CVE-2005-1742 | Inappropriate actions allowed by a particular role(Unsafe privileged actions). |
| CVE-2001-1480 | Untrusted entity allowed to access the system clipboard (Unsafe privileged actions). |
| CVE-2001-1551 | Extra Linux capability allows bypass of system-specified restriction (Unsafe privileged actions). |
| CVE-2001-1166 | User with debugging rights can read entire process (Unsafe privileged actions). |
| CVE-2005-1816 | Non-root admins can add themselves or others to the root admin group (Unsafe privileged actions). |
| CVE-2005-2173 | Users can change certain properties of objects to perform otherwise unauthorized actions (Unsafe privileged actions). |
| CVE-2005-2027 | Certain debugging commands not restricted to just the administrator, allowing registry modification and infoleak (Unsafe privileged actions). |

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

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2025-41244 | VMSA-2025-0015: VMware Aria Operations and VMware Tools updates address multiple vulnerabilities (CVE-2025-41244,CVE-2025-41245, CVE-2025-41246) | high | 8.5 | - | Yes | 2025-09-29 |
| CVE-2026-29646 | - | critical | 9.8 | - | No | 2026-04-20 |
| CVE-2023-22647 | Rancher vulnerable to Privilege Escalation via manipulation of Secrets | critical | 9.4 | - | No | 2023-06-01 |
| CVE-2026-109520 | Colorful iGameCenter Dispatch AMDRyzenMasterDriver.sys MmMapIoSpace privilege defined with unsafe actions | critical | 9.3 | - | No | 2026-10-13 |
| CVE-2026-96659 | Foreman: excessive permissions for viewer role on preview | critical | 9.1 | - | No | 2026-10-01 |
| CVE-2023-32249 | ksmbd: not allow guest user on multichannel | critical | 9.1 | - | No | 2025-08-16 |
| CVE-2021-44547 | - | critical | 9.1 | - | No | 2023-04-25 |
| CVE-2026-10090 | Multicluster-operators-subscription: multicluster-operators-subscription: namespace edit user can deploy cluster-scoped clusterrolebinding and become cluster-admin via application subscription | critical | 9.0 | - | No | 2026-08-05 |
| CVE-2026-12977 | Org.wildfly.core/wildfly-server: wildfly: rbac bypass in wildfly deployment-operation handlers leads to privilege escalation | high | 8.8 | - | No | 2026-11-09 |
| CVE-2025-36255 | DS8900F and DS8A00 Privilege Escalation | high | 8.8 | - | No | 2026-08-19 |
| CVE-2026-18951 | Odh-training-operator-rhel9: \[trainer v2 security\] trn-02: rhoai overlay aggregates trainjobs crud into standard edit clusterrole | high | 8.8 | - | No | 2026-08-10 |
| CVE-2026-27314 | Apache Cassandra: Privilege escalation via ADD IDENTITY authorization bypass | high | 8.8 | - | No | 2026-04-07 |

## Related attack patterns (CAPEC)

- [CAPEC-58](https://radicalnotion.ai/capec/capec-58): Restful Privilege Elevation
- [CAPEC-634](https://radicalnotion.ai/capec/capec-634): Probe Audio and Video Peripherals
- [CAPEC-637](https://radicalnotion.ai/capec/capec-637): Collect Data from Clipboard
- [CAPEC-643](https://radicalnotion.ai/capec/capec-643): Identify Shared Files/Directories on System
- [CAPEC-648](https://radicalnotion.ai/capec/capec-648): Collect Data from Screen Capture

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-269](https://radicalnotion.ai/cwe/cwe-269) | Improper Privilege Management |
| Child | [CWE-623](https://radicalnotion.ai/cwe/cwe-623) | Unsafe ActiveX Control Marked Safe For Scripting |

## Taxonomy mappings

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

## Frequently asked questions

### What is CWE-267?

A particular privilege, role, capability, or right can be used to perform unsafe actions that were not intended, even when it is assigned to the correct entity.

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

79 recorded CVEs are attributed to CWE-267, including CVE-2025-41244, CVE-2026-29646 and CVE-2023-22647. 1 is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

### How do you prevent CWE-267?

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

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

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

### Is CWE-267 actively exploited?

Yes. 1 CWE-267 vulnerability is in CISA's KEV catalog of actively exploited flaws, out of 79 recorded CVEs.

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

---

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