---
title: "CWE-279: Incorrect Execution-Assigned Permissions"
url: https://radicalnotion.ai/cwe/cwe-279
type: cwe
description: "While it is executing, the product sets the permissions of an object in a way that violates the intended permissions that have been specified by the user."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-279: Incorrect Execution-Assigned Permissions

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

## Description

While it is executing, the product sets the permissions of an object in a way that violates the intended permissions that have been specified by the user.

## Modes of introduction

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

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality, Integrity | Read Application Data, Modify Application Data | - |

## 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 (Separation of Privilege)

Compartmentalize the system to have "safe" areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.

Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

## Detection methods

### Automated Static Analysis

Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2002-0265 | Log files opened read/write. |
| CVE-2003-0876 | Log files opened read/write. |
| CVE-2002-1694 | Log files opened read/write. |

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

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2024-37734 | - | critical | 9.8 | - | No | 2024-06-26 |
| CVE-2020-8025 | outdated entries in permissions profiles for /var/lib/pcp/tmp/\* may cause security issues | critical | 9.3 | - | No | 2020-08-07 |
| CVE-2026-80724 | ptp: vmclock: prevent read-only mappings from becoming writable | high | 8.8 | - | No | 2026-08-28 |
| CVE-2025-22843 | - | high | 8.8 | - | No | 2025-05-13 |
| CVE-2024-26990 | KVM: x86/mmu: Write-protect L2 SPTEs in TDP MMU when clearing dirty status | high | 8.8 | - | No | 2024-05-01 |
| CVE-2023-4665 | Privilage Escalation in Saphira Connect | high | 8.8 | - | No | 2023-09-15 |
| CVE-2020-16019 | Inappropriate implementation in filesystem | high | 8.8 | - | No | 2021-01-08 |
| CVE-2025-14025 | Ansible-automation-platform/aap-gateway: aap-gateway: read-only personal access token (pat) bypasses write restrictions | high | 8.5 | - | No | 2026-01-08 |
| CVE-2024-11220 | Open Automation Software Incorrect Execution-Assigned Permissions | high | 8.5 | - | No | 2024-12-06 |
| CVE-2026-80929 | sysctl: move the "cad\_pid" entry from pid\_table\[\] to kern\_reboot\_table\[\] | high | 7.8 | - | No | 2026-09-11 |
| CVE-2024-25621 | containerd affected by a local privilege escalation via wide permissions on CRI directory | high | 7.8 | - | No | 2025-11-06 |
| CVE-2023-4383 | MicroWorld eScan Anti-Virus runasroot incorrect execution-assigned permissions | high | 7.8 | - | No | 2023-08-16 |

## Related attack patterns (CAPEC)

- [CAPEC-81](https://radicalnotion.ai/capec/capec-81): Web Server Logs Tampering

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-732](https://radicalnotion.ai/cwe/cwe-732) | Incorrect Permission Assignment for Critical Resource |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| PLOVER | Insecure execution-assigned permissions | - | - |
| CERT C Secure Coding | Create files with appropriate access permissions | FIO06-C | - |
| The CERT Oracle Secure Coding Standard for Java (2011) | Create files with appropriate access permission | FIO01-J | - |

## Frequently asked questions

### What is CWE-279?

While it is executing, the product sets the permissions of an object in a way that violates the intended permissions that have been specified by the user.

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

30 recorded CVEs are attributed to CWE-279, including CVE-2024-37734, CVE-2020-8025 and CVE-2026-80724.

### How do you prevent CWE-279?

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

### How is CWE-279 detected?

Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

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

Exploiting CWE-279 can lead to: Read Application Data, Modify Application Data.

### Is CWE-279 actively exploited?

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

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

---

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