---
title: "CWE-1220: Insufficient Granularity of Access Control"
url: https://radicalnotion.ai/cwe/cwe-1220
type: cwe
description: "The product implements access controls via a policy or other feature with the intention to disable or restrict accesses (reads and/or writes) to assets in a system from untrusted agents. However, implemented access controls lack the required granularity"
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1220: Insufficient Granularity of Access Control

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

## Description

The product implements access controls via a policy or other feature with the intention to disable or restrict accesses (reads and/or writes) to assets in a system from untrusted agents. However, implemented access controls lack the required granularity

## Background

Integrated circuits and hardware engines can expose accesses to assets (device configuration, keys, etc.) to trusted firmware or a software module (commonly set by BIOS/bootloader). This access is typically access-controlled. Upon a power reset, the hardware or system usually starts with default values in registers, and the trusted firmware (Boot firmware) configures the necessary access-control protection.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | Such issues could be introduced during hardware architecture and design and identified later during Testing or System Configuration phases. |
| Implementation | Such issues could be introduced during hardware implementation and identified later during Testing or System Configuration phases. |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality, Integrity, Availability, Access Control | Modify Memory, Read Memory, Execute Unauthorized Code or Commands, Gain Privileges or Assume Identity, Bypass Protection Mechanism, Other | - |

## Potential mitigations

### Architecture and Design, Implementation, Testing

- Access-control-policy protections must be reviewed for design inconsistency and common weaknesses.
- Access-control-policy definition and programming flow must be tested in pre-silicon, post-silicon testing.

Effectiveness: High

## Demonstrative examples

### Example 1

Consider a system with a register for storing AES key for encryption or decryption. The key is 128 bits, implemented as a set of four 32-bit registers. The key registers are assets and registers, AES\_KEY\_READ\_POLICY and AES\_KEY\_WRITE\_POLICY, and are defined to provide necessary access controls.

The read-policy register defines which agents can read the AES-key registers, and write-policy register defines which agents can program or write to those registers. Each register is a 32-bit register, and it can support access control for a maximum of 32 agents. The number of the bit when set (i.e., "1") allows respective action from an agent whose identity matches the number of the bit and, if "0" (i.e., Clear), disallows the respective action to that corresponding agent.

Bad code:

```other
Register  Field description
AES_ENC_DEC_KEY_0  AES key [0:31] for encryption or decryptionDefault 0x00000000
AES_ENC_DEC_KEY_1  AES key [32:63] for encryption or decryptionDefault 0x00000000
AES_ENC_DEC_KEY_2  AES key [64:95] for encryption or decryptionDefault 0x00000000
AES_ENC_DEC_KEY_4  AES key [96:127] for encryption or decryptionDefault 0x00000000
AES_KEY_READ_WRITE_POLICY  [31:0] Default 0x00000006 - meaning agent with identities "1" and "2" can both read from and write to key registers
```

Good code:

```other
AES_KEY_READ_POLICY  [31:0] Default 0x00000002 - meaning only Crypto engine with identity "1" can read registers: AES_ENC_DEC_KEY_0, AES_ENC_DEC_KEY_1, AES_ENC_DEC_KEY_2, AES_ENC_DEC_KEY_3
AES_KEY_WRITE_POLICY  [31:0] Default 0x00000004 - meaning only trusted firmware with identity "2" can program registers: AES_ENC_DEC_KEY_0, AES_ENC_DEC_KEY_1, AES_ENC_DEC_KEY_2, AES_ENC_DEC_KEY_3
```

### Example 2

Within the AXI node interface wrapper module in the RISC-V AXI module of the HACK@DAC'19 CVA6 SoC \[REF-1346\], an access control mechanism is employed to regulate the access of different privileged users to peripherals.

Bad code:

```systemverilog
...
    for (i=0; i<NB_SUBORDINATE; i++)
    begin
        for (j=0; j<NB_MANAGER; j++)
        begin
            assign connectivity_map_o[i][j] = access_ctrl_i[i][j][priv_lvl_i] || ((j==6) && access_ctrl_i[i][7][priv_lvl_i]);
        end
    end
...
```

Good code:

```systemverilog
...
    for (i=0; i<NB_SUBORDINATE; i++)
    begin
        for (j=0; j<NB_MANAGER; j++)
        begin
            assign connectivity_map_o[i][j] = access_ctrl_i[i][j][priv_lvl_i];
        end
    end
...
```

### Example 3

Consider the following SoC design. The sram in HRoT has an address range that is readable and writable by unprivileged software and it has an area that is only readable by unprivileged software. The tbus interconnect enforces access control for subordinates on the bus but uses only one bit to control both read and write access. Address 0xA0000000 - 0xA000FFFF is readable and writable by the untrusted cores core{0-N} and address 0xA0010000 - 0xA001FFFF is only readable by the untrusted cores core{0-N}.

The security policy access control is not granular enough, as it uses one bit to enable both read and write access. This gives write access to an area that should only be readable by unprivileged agents.

Access control logic should differentiate between read and write access and to have sufficient address granularity.

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2022-24985 | A form hosting website only checks the session authentication status for a single form, making it possible to bypass authentication when there are multiple forms |
| CVE-2021-36934 | An operating system has an overly permissive Access Control List on some system files, including those related to user passwords |

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

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-33825 | Microsoft Defender Elevation of Privilege Vulnerability | critical | 9.3 | - | Yes | 2026-04-14 |
| CVE-2025-31201 | iOS and iPadOS: RPAC - An attacker with arbitrary read and write capability may be able to bypass Pointer Authentication | critical | 9.3 | - | Yes | 2025-04-16 |
| CVE-2026-56155 | Active Directory Federation Services Elevation of Privilege Vulnerability | high | 7.8 | - | Yes | 2026-07-14 |
| CVE-2023-43040 | IBM Spectrum Fusion HCI improper access control | critical | 9.8 | - | No | 2024-05-13 |
| CVE-2022-2475 | Insufficient Granularity of Access Control in Haas Controller | critical | 9.8 | - | No | 2022-10-28 |
| CVE-2026-6356 | CVE-2026-6356 | critical | 9.6 | - | No | 2026-04-22 |
| CVE-2026-6388 | Argocd-image-updater: argocd image updater: cross-namespace privilege escalation via insufficient namespace validation | critical | 9.1 | - | No | 2026-04-15 |
| CVE-2025-7493 | Freeipa: idm: privilege escalation from host to domain admin in freeipa | critical | 9.1 | - | No | 2025-09-30 |
| CVE-2025-4404 | Freeipa: idm: privilege escalation from host to domain admin in freeipa | critical | 9.1 | - | No | 2025-06-17 |
| CVE-2026-57892 | - | high | 8.8 | - | No | 2026-11-10 |
| CVE-2026-77480 | SQL Server Elevation of Privilege Vulnerability | high | 8.8 | - | No | 2026-09-08 |
| CVE-2026-66814 | Microsoft SQL Server Elevation of Privilege Vulnerability | high | 8.8 | - | No | 2026-09-08 |

## Related attack patterns (CAPEC)

- [CAPEC-1](https://radicalnotion.ai/capec/capec-1): Accessing Functionality Not Properly Constrained by ACLs
- [CAPEC-180](https://radicalnotion.ai/capec/capec-180): Exploiting Incorrectly Configured Access Control Security Levels

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-284](https://radicalnotion.ai/cwe/cwe-284) | Improper Access Control |
| Child | [CWE-1222](https://radicalnotion.ai/cwe/cwe-1222) | Insufficient Granularity of Address Regions Protected by Register Locks |
| Child | [CWE-1262](https://radicalnotion.ai/cwe/cwe-1262) | Improper Access Control for Register Interface |
| Child | [CWE-1299](https://radicalnotion.ai/cwe/cwe-1299) | Missing Protection Mechanism for Alternate Hardware Interface |

## Frequently asked questions

### What is CWE-1220?

The product implements access controls via a policy or other feature with the intention to disable or restrict accesses (reads and/or writes) to assets in a system from untrusted agents. However, implemented access controls lack the required granularity

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

135 recorded CVEs are attributed to CWE-1220, including CVE-2026-33825, CVE-2025-31201 and CVE-2026-56155. 3 are listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

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

Exploiting CWE-1220 can lead to: Modify Memory, Read Memory, Execute Unauthorized Code or Commands, Gain Privileges or Assume Identity, Bypass Protection Mechanism, Other.

### Is CWE-1220 actively exploited?

Yes. 3 CWE-1220 vulnerabilities are in CISA's KEV catalog of actively exploited flaws, out of 135 recorded CVEs.

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

---

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