CWE-278
Weakness AllowedInsecure Preserved Inherited Permissions
Abstraction: Variant · Status: Incomplete
A product inherits a set of insecure permissions for an object, e.g. when copying from an archive file, without user awareness or involvement.
Mapping guidance
This CWE entry is at the Variant level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.
Carefully read both the name and description to ensure that this mapping is an appropriate fit. Do not try to 'force' a mapping to a lower-level Base/Variant simply to comply with this preferred level of abstraction.
Modes of introduction
Content history
updated Time_of_Introduction
updated Relationships, Taxonomy_Mappings
updated Common_Consequences
updated Relationships
updated Potential_Mitigations
updated Relationships
updated Applicable_Platforms
updated Potential_Mitigations
updated Relationships
updated Mapping_Notes
updated Weakness_Ordinalities
11 vulnerabilities reference this CWE, most recent first.
GHSA-M92C-Q898-572X
Vulnerability from github – Published: 2025-04-17 18:31 – Updated: 2025-07-17 21:32IBM i 7.6
contains a privilege escalation vulnerability due to incorrect profile swapping in an OS command. A malicious actor can use the command to elevate privileges to gain root access to the host operating system.
{
"affected": [],
"aliases": [
"CVE-2025-2947"
],
"database_specific": {
"cwe_ids": [
"CWE-278"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2025-04-17T17:15:33Z",
"severity": "HIGH"
},
"details": "IBM i 7.6\u00a0\n\ncontains a privilege escalation vulnerability due to incorrect profile swapping in an OS command. \u00a0A malicious actor can use the command to elevate privileges to gain root access to the host operating system.",
"id": "GHSA-m92c-q898-572x",
"modified": "2025-07-17T21:32:04Z",
"published": "2025-04-17T18:31:22Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-2947"
},
{
"type": "WEB",
"url": "https://www.ibm.com/support/pages/node/7231025"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
Mitigation MIT-1
Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
Mitigation MIT-46
Strategy: 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.
No CAPEC attack patterns related to this CWE.