CVE-2025-57851: Incorrect Default Permissions in Red Hat Multicluster Engine for Kubernetes
A container privilege escalation flaw was found in certain Multicluster Engine for Kubernetes images. This issue stems from the /etc/passwd file being created with group-writable permissions during build time. In certain conditions, an attacker who can execute commands within an affected container, even as a non-root user, can leverage their membership in the root group to modify the /etc/passwd file. This could allow the attacker to add a new user with any arbitrary UID, including UID 0, leading to full root privileges within the container.
AI Analysis
Technical Summary
This vulnerability involves incorrect default permissions on the /etc/passwd file in some Red Hat Multicluster Engine for Kubernetes container images. The file is group-writable, which allows an attacker who can run commands inside the container and is part of the root group to alter /etc/passwd. By doing so, the attacker can create a new user with any UID, including UID 0, effectively escalating privileges to root within the container environment. The CVSS 3.1 vector indicates the attack requires local access with high privileges and high attack complexity, but results in high confidentiality, integrity, and availability impacts. No patch or official remediation level is currently documented in the vendor advisory.
Potential Impact
Successful exploitation allows an attacker with command execution inside the container and root group membership to escalate privileges to root by modifying the /etc/passwd file. This leads to full root privileges within the container, compromising confidentiality, integrity, and availability of containerized workloads. There are no known exploits in the wild, and the vulnerability affects container images of Red Hat Multicluster Engine for Kubernetes.
Mitigation Recommendations
Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2025-57851 for current remediation guidance. Until an official fix is available, restrict container access to trusted users only and avoid granting root group membership inside containers. Monitor vendor communications for updates on patches or workarounds.
CVE-2025-57851: Incorrect Default Permissions in Red Hat Multicluster Engine for Kubernetes
Description
A container privilege escalation flaw was found in certain Multicluster Engine for Kubernetes images. This issue stems from the /etc/passwd file being created with group-writable permissions during build time. In certain conditions, an attacker who can execute commands within an affected container, even as a non-root user, can leverage their membership in the root group to modify the /etc/passwd file. This could allow the attacker to add a new user with any arbitrary UID, including UID 0, leading to full root privileges within the container.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves incorrect default permissions on the /etc/passwd file in some Red Hat Multicluster Engine for Kubernetes container images. The file is group-writable, which allows an attacker who can run commands inside the container and is part of the root group to alter /etc/passwd. By doing so, the attacker can create a new user with any UID, including UID 0, effectively escalating privileges to root within the container environment. The CVSS 3.1 vector indicates the attack requires local access with high privileges and high attack complexity, but results in high confidentiality, integrity, and availability impacts. No patch or official remediation level is currently documented in the vendor advisory.
Potential Impact
Successful exploitation allows an attacker with command execution inside the container and root group membership to escalate privileges to root by modifying the /etc/passwd file. This leads to full root privileges within the container, compromising confidentiality, integrity, and availability of containerized workloads. There are no known exploits in the wild, and the vulnerability affects container images of Red Hat Multicluster Engine for Kubernetes.
Mitigation Recommendations
Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2025-57851 for current remediation guidance. Until an official fix is available, restrict container access to trusted users only and avoid granting root group membership inside containers. Monitor vendor communications for updates on patches or workarounds.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2025-08-21T14:40:40.822Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2025-57851","vendor":"Red Hat"}]
Threat ID: 69d664421cc7ad14da7c09b2
Added to database: 4/8/2026, 2:20:50 PM
Last enriched: 5/2/2026, 1:54:10 AM
Last updated: 5/23/2026, 10:58:06 PM
Views: 64
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.