CWE-277: Insecure Inherited Permissions
A product defines a set of insecure permissions that are inherited by objects that are created by the program.
Last updated
Overview
CWE-277 (Insecure Inherited Permissions) is a variant-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Real-world CVEs
67 recorded CVEs are caused by CWE-277 (Insecure Inherited Permissions). The highest-severity and most recent are shown first. 7 new CWE-277 CVEs have been recorded so far in 2026 (16 in 2025).
- CVE-2024-36540Critical · CVSS 9.8 · EPSS 37th2024-07-24
- CVE-2024-36539Critical · CVSS 9.8 · EPSS 70th2024-07-24
- CVE-2024-36542High · CVSS 8.8 · EPSS 41th2024-07-25
- CVE-2024-6605
Firefox Android missed activation delay to prevent tapjacking
High · CVSS 8.8 · EPSS 29th2024-07-09 - CVE-2023-27842High · CVSS 8.8 · EPSS 84th2023-03-21
- CVE-2024-42681
Improper Preservation of Permissions in xxl-job
High · CVSS 8.7 · EPSS 60th2024-08-15 - CVE-2024-7143
Pulpcore: rbac permissions incorrectly assigned in tasks that create objects
High · CVSS 8.6 · EPSS 49th2024-08-07 - CVE-2024-34329High · CVSS 8.4 · EPSS 49th2024-07-22
- CVE-2024-29417High · CVSS 8.4 · EPSS 9th2024-05-03
- CVE-2026-30266High · CVSS 7.8 · EPSS 2th2026-04-20
- CVE-2024-27848High · CVSS 7.8 · EPSS 10th2024-06-10
- CVE-2023-45736High · CVSS 7.8 · EPSS 7th2024-05-16
Showing 12 of 67 recorded CWE-277 CVEs. Get an alert for each new one, with AI-written analysis and fixes.
Monitor these CVEsCommon consequences
What can happen when CWE-277 is exploited.
Read Application Data, Modify Application Data
Affects: Confidentiality, Integrity
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.
How to prevent it
Practical mitigations for CWE-277, grouped by where in the lifecycle they apply.
Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
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.
Illustrative examples
Real CVEs that MITRE cites as examples of this weakness.
- 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?].
Terminology & mappings
Mapped taxonomies
- PLOVER: Insecure inherited permissions
Frequently asked questions
Common questions about CWE-277.
- 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?
- 67 recorded CVEs are attributed to CWE-277, including CVE-2024-36540, CVE-2024-36539 and CVE-2024-36542.
- 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?
- 67 recorded CVEs are caused by CWE-277; none are currently in CISA's KEV catalog of actively exploited flaws.
References
- MITRE CWE definition (CWE-277) (opens in a new tab)
- CWE-277 vulnerabilities on NVD (opens in a new tab)
- Learn: What is a CWE?
Weakness data is sourced from the MITRE CWE catalog (v4.20). CVE associations are aggregated and kept current by RadicalNotion.AI.
Track CWE-277 CVEs
Get an alert when a new CWE-277 CVE affects your products, with AI-written analysis and remediation steps.