CVE-2025-57854: Incorrect Default Permissions in Red Hat Red Hat OpenShift Update Service
CVE-2025-57854 is a container privilege escalation vulnerability in certain Red Hat OpenShift Update Service (OSUS) images. The issue arises because the /etc/passwd file is created with group-writable permissions during build time. An attacker with command execution capabilities inside the container and membership in the root group can modify /etc/passwd to add a user with arbitrary UID, including root (UID 0), gaining full root privileges within the container. The vulnerability has a CVSS score of 6. 4, indicating medium severity. No official patch or remediation level is currently confirmed from the vendor advisory.
AI Analysis
Technical Summary
This vulnerability involves incorrect default permissions on the /etc/passwd file in some OSUS container images, specifically that the file is group-writable. This misconfiguration allows an attacker who can run commands inside the container and is in the root group to escalate privileges by adding a new user with UID 0. The flaw is limited to container environments where the attacker has certain privileges and group membership. The CVSS vector indicates the attack requires local access with high privileges and no user interaction, impacting confidentiality, integrity, and availability within the container. The vendor advisory does not currently specify a patch or fix.
Potential Impact
Successful exploitation allows an attacker with command execution inside the container and root group membership to gain full root privileges within that container by modifying /etc/passwd. This elevates the attacker's privileges from a non-root user to root inside the container environment, potentially compromising container integrity and confidentiality. The impact is confined to the container scope and does not imply host-level compromise. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2025-57854 for current remediation guidance. Until an official fix is available, restrict container access to trusted users only and avoid granting unnecessary root group membership inside containers. Monitor Red Hat communications for updates on patches or workarounds.
CVE-2025-57854: Incorrect Default Permissions in Red Hat Red Hat OpenShift Update Service
Description
CVE-2025-57854 is a container privilege escalation vulnerability in certain Red Hat OpenShift Update Service (OSUS) images. The issue arises because the /etc/passwd file is created with group-writable permissions during build time. An attacker with command execution capabilities inside the container and membership in the root group can modify /etc/passwd to add a user with arbitrary UID, including root (UID 0), gaining full root privileges within the container. The vulnerability has a CVSS score of 6. 4, indicating medium severity. No official patch or remediation level is currently confirmed from the vendor advisory.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves incorrect default permissions on the /etc/passwd file in some OSUS container images, specifically that the file is group-writable. This misconfiguration allows an attacker who can run commands inside the container and is in the root group to escalate privileges by adding a new user with UID 0. The flaw is limited to container environments where the attacker has certain privileges and group membership. The CVSS vector indicates the attack requires local access with high privileges and no user interaction, impacting confidentiality, integrity, and availability within the container. The vendor advisory does not currently specify a patch or fix.
Potential Impact
Successful exploitation allows an attacker with command execution inside the container and root group membership to gain full root privileges within that container by modifying /etc/passwd. This elevates the attacker's privileges from a non-root user to root inside the container environment, potentially compromising container integrity and confidentiality. The impact is confined to the container scope and does not imply host-level compromise. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2025-57854 for current remediation guidance. Until an official fix is available, restrict container access to trusted users only and avoid granting unnecessary root group membership inside containers. Monitor Red Hat 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-57854","vendor":"Red Hat"}]
Threat ID: 69d664421cc7ad14da7c09ba
Added to database: 4/8/2026, 2:20:50 PM
Last enriched: 4/8/2026, 2:36:03 PM
Last updated: 4/8/2026, 3:34:45 PM
Views: 5
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.