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 the image build process. An attacker with command execution 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. This vulnerability has a medium severity with a CVSS score of 6. 4. No official patch or remediation guidance is currently confirmed from Red Hat's advisory.
AI Analysis
Technical Summary
This vulnerability involves incorrect default permissions on the /etc/passwd file in certain OSUS container images, allowing an attacker with limited privileges but root group membership inside the container to escalate to full root privileges by modifying /etc/passwd. The flaw is due to group-writable permissions set during image build time. Exploitation requires the ability to execute commands inside the container and group membership, which limits the attack vector. The CVSS 3.1 base score is 6.4, reflecting medium severity with high impact on confidentiality, integrity, and availability within the container context. Red Hat has published an advisory but has not yet provided explicit remediation or patch details.
Potential Impact
Successful exploitation allows an attacker with command execution and root group membership inside the affected container to escalate privileges to root by adding arbitrary users with UID 0 in /etc/passwd. This compromises container confidentiality, integrity, and availability by granting full root access within the container environment. The vulnerability does not directly affect the host or other containers unless further container escape vulnerabilities exist. There are no known exploits in the wild as of the advisory publication.
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 a fix is available, restrict container access to trusted users only, especially limiting membership in the root group within containers. Avoid running containers with unnecessary group privileges. Monitor Red Hat's advisory for updates on official fixes 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 the image build process. An attacker with command execution 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. This vulnerability has a medium severity with a CVSS score of 6. 4. No official patch or remediation guidance is currently confirmed from Red Hat's advisory.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves incorrect default permissions on the /etc/passwd file in certain OSUS container images, allowing an attacker with limited privileges but root group membership inside the container to escalate to full root privileges by modifying /etc/passwd. The flaw is due to group-writable permissions set during image build time. Exploitation requires the ability to execute commands inside the container and group membership, which limits the attack vector. The CVSS 3.1 base score is 6.4, reflecting medium severity with high impact on confidentiality, integrity, and availability within the container context. Red Hat has published an advisory but has not yet provided explicit remediation or patch details.
Potential Impact
Successful exploitation allows an attacker with command execution and root group membership inside the affected container to escalate privileges to root by adding arbitrary users with UID 0 in /etc/passwd. This compromises container confidentiality, integrity, and availability by granting full root access within the container environment. The vulnerability does not directly affect the host or other containers unless further container escape vulnerabilities exist. There are no known exploits in the wild as of the advisory publication.
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 a fix is available, restrict container access to trusted users only, especially limiting membership in the root group within containers. Avoid running containers with unnecessary group privileges. Monitor Red Hat's advisory for updates on official fixes 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/15/2026, 3:56:57 PM
Last updated: 5/23/2026, 10:58:06 PM
Views: 58
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.