---
title: "CWE-1268: Policy Privileges are not Assigned Consistently Between Control and Data Agents"
url: https://radicalnotion.ai/cwe/cwe-1268
type: cwe
description: "The product's hardware-enforced access control for a particular resource improperly accounts for privilege discrepancies between control and write policies."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1268: Policy Privileges are not Assigned Consistently Between Control and Data Agents

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

## Description

The product's hardware-enforced access control for a particular resource improperly accounts for privilege discrepancies between control and write policies.

## Background

Integrated circuits and hardware engines may provide access to resources (device-configuration, encryption keys, etc.) belonging to trusted firmware or software modules (commonly set by a BIOS or a bootloader). These accesses are typically controlled and limited by the hardware. Hardware design access control is sometimes implemented using a policy. A policy defines which entity or agent may or may not be allowed to perform an action. When a system implements multiple levels of policies, a control policy may allow direct access to a resource as well as changes to the policies themselves.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | This weakness may be introduced during the design of a device when the architect does not comprehensively specify all of the policies required by an agent. |
| Implementation | This weakness may be introduced during implementation if device policy restrictions do not sufficiently constrain less-privileged clients. |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality, Integrity, Availability, Access Control | Modify Memory, Read Memory, DoS: Crash, Exit, or Restart, Execute Unauthorized Code or Commands, Gain Privileges or Assume Identity, Bypass Protection Mechanism, Read Files or Directories, Reduce Reliability | - |

## Potential mitigations

### Architecture and Design, Implementation

Access-control-policy definition and programming flow must be sufficiently tested in pre-silicon and post-silicon testing.

## Demonstrative examples

### Example 1

Consider a product that stores a 128-bit AES key in four 32-bit registers, collectively called the AES key registers.

Three additional 32-bit registers are used to define the hardware enforced access control for the AES key registers. Collectively these registers are referred to as the AES Policy registers, and their functions are explained in the following table:

Informative code:

```
Register  Permission granted
AES_KEY_CONTROL_POLICY  Defines which agents can write to both AES_KEY_READ_POLICY and AES_KEY_WRITE_POLICY registers.
AES_KEY_READ_POLICY  Defines which agents can read the AES key registers.
AES_KEY_WRITE_POLICY  Defines which agents can write the AES key registers.
```

Bad code:

```other
Register  Initial value (hexadecimal)  Bits 3 2 1 0 (binary)  Agents granted permission
AES_KEY_READ_POLICY  0x00000001  0001b  Agent 0
AES_KEY_WRITE_POLICY  0x00000002  0010b  Agent 1
AES_KEY_CONTROL_POLICY  0x0000000C  1100b  Agents 2 and 3
```

Informative code:

```
Agent  Read AES key  Write AES key  Modify AES key access policies
Agent 0  Allowed  Not Allowed  Not Allowed
Agent 1  Not Allowed  Allowed  Not Allowed
Agent 2 (untrusted)  Not Allowed  Not Allowed  Allowed
Agent 3  Not Allowed  Not Allowed  Allowed
```

Good code:

```other
Register  Initial value (hexadecimal)  Bits 3 2 1 0 (binary)  Agents granted permission
AES_KEY_READ_POLICY  0x00000001  0001b  Agent 0
AES_KEY_WRITE_POLICY  0x00000002  0010b  Agent 1
AES_KEY_CONTROL_POLICY  0x00000008  1000b  Agent 3
```

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-5892 | Insufficient policy enforcement in PWAs | medium | 6.6 | - | No | 2026-04-08 |

## Related attack patterns (CAPEC)

- [CAPEC-180](https://radicalnotion.ai/capec/capec-180): Exploiting Incorrectly Configured Access Control Security Levels

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-266](https://radicalnotion.ai/cwe/cwe-266) | Incorrect Privilege Assignment |

## Frequently asked questions

### What is CWE-1268?

The product's hardware-enforced access control for a particular resource improperly accounts for privilege discrepancies between control and write policies.

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

1 recorded CVE is attributed to CWE-1268: CVE-2026-5892.

### How do you prevent CWE-1268?

Access-control-policy definition and programming flow must be sufficiently tested in pre-silicon and post-silicon testing.

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

Exploiting CWE-1268 can lead to: Modify Memory, Read Memory, DoS: Crash, Exit, or Restart, Execute Unauthorized Code or Commands, Gain Privileges or Assume Identity, Bypass Protection Mechanism.

### Is CWE-1268 actively exploited?

1 recorded CVE is caused by CWE-1268; it is not currently in CISA's KEV catalog of actively exploited flaws.

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

---

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