---
title: "CWE-277: Insecure Inherited Permissions"
url: https://radicalnotion.ai/cwe/cwe-277
type: cwe
description: "A product defines a set of insecure permissions that are inherited by objects that are created by the program."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-277: Insecure Inherited Permissions

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

## Description

A product defines a set of insecure permissions that are inherited by objects that are created by the program.

## 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 |
| --- | --- | --- |
| 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.

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2005-1841 | User's umask is used when creating temp files. |
| CVE-2002-1786 | Insecure umask for core dumps \[is the umask preserved or assigned?\]. |

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

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2024-36540 | - | critical | 9.8 | - | No | 2024-07-24 |
| CVE-2024-36539 | - | critical | 9.8 | - | No | 2024-07-24 |
| CVE-2021-41170 | Evaluation of closures can lead to execution of methods & functions in current program scope | critical | 9.8 | - | No | 2021-11-08 |
| CVE-2024-36542 | - | high | 8.8 | - | No | 2024-07-25 |
| CVE-2024-6605 | Firefox Android missed activation delay to prevent tapjacking | high | 8.8 | - | No | 2024-07-09 |
| CVE-2023-27842 | - | high | 8.8 | - | No | 2023-03-21 |
| CVE-2024-42681 | Improper Preservation of Permissions in xxl-job | high | 8.7 | - | No | 2024-08-15 |
| CVE-2024-7143 | Pulpcore: rbac permissions incorrectly assigned in tasks that create objects | high | 8.6 | - | No | 2024-08-07 |
| CVE-2024-34329 | - | high | 8.4 | - | No | 2024-07-22 |
| CVE-2024-29417 | - | high | 8.4 | - | No | 2024-05-03 |
| CVE-2026-30266 | - | high | 7.8 | - | No | 2026-04-20 |
| CVE-2024-27848 | macOS Sonoma: StorageKit - A malicious app may be able to gain root privileges | high | 7.8 | - | No | 2024-06-10 |

## 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 inherited permissions | - | - |

## Frequently asked questions

### What is CWE-277?

A product defines a set of insecure permissions that are inherited by objects that are created by the program.

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

70 recorded CVEs are attributed to CWE-277, including CVE-2024-36540, CVE-2024-36539 and CVE-2021-41170.

### How do you prevent CWE-277?

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

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

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

### Is CWE-277 actively exploited?

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

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

---

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