CVE-2025-57854

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
Configurations

Configuration 1 (hide)

cpe:2.3:a:redhat:openshift_update_service:-:*:*:*:*:*:*:*

History

24 Jul 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) Una falla de escalada de privilegios de contenedor fue encontrada en ciertas imágenes de OpenShift Update Service (OSUS). Este problema se origina en que el archivo /etc/p4ssd se crea con permisos de escritura para el grupo durante el tiempo de compilación. En ciertas condiciones, un atacante que puede ejecutar comandos dentro de un contenedor afectado, incluso como un usuario no-root, podría aprovechar su pertenencia al grupo root para modificar el archivo /etc/p4ssd. Esto podría permitir al atacante añadir un nuevo usuario con cualquier UID arbitrario, incluyendo UID 0, lo que llevaría a privilegios de root completos dentro del contenedor.

04 May 2026, 13:47

Type Values Removed Values Added
First Time Redhat
Redhat openshift Update Service
CPE cpe:2.3:a:redhat:openshift_update_service:-:*:*:*:*:*:*:*
References () https://access.redhat.com/security/cve/CVE-2025-57854 - () https://access.redhat.com/security/cve/CVE-2025-57854 - Vendor Advisory
References () https://bugzilla.redhat.com/show_bug.cgi?id=2391107 - () https://bugzilla.redhat.com/show_bug.cgi?id=2391107 - Issue Tracking, Vendor Advisory

08 Apr 2026, 14:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-08 14:16

Updated : 2026-07-24 20:10


NVD link : CVE-2025-57854

Mitre link : CVE-2025-57854

CVE.ORG link : CVE-2025-57854


JSON object : View

Products Affected

redhat

  • openshift_update_service
CWE
CWE-276

Incorrect Default Permissions