CVE-2025-57854
MEDIUMOsus-operator: privilege escalation via excessive /etc/passwd permissions
Title source: cnaDescription
A container privilege escalation flaw was found in certain OpenShift Update Service (OSUS) 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, may be able to 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.
References (2)
Core 2
Core References
Vdb Entry, X_Refsource_Redhat vdb-entry
x_refsource_redhat
https://access.redhat.com/security/cve/CVE-2025-57854
Issue Tracking, X_Refsource_Redhat issue-tracking
x_refsource_redhat
RHBZ#2391107
https://bugzilla.redhat.com/show_bug.cgi?id=2391107
Scores
CVSS v3
6.4
EPSS
0.0014
EPSS Percentile
4.1%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-276
Status
published
Products (2)
Red Hat/Red Hat OpenShift Update Service
redhat/openshift_update_service
Published
Apr 08, 2026
Tracked Since
Apr 08, 2026