CVE-2025-57850

A container privilege escalation flaw was found in certain CodeReady Workspaces 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.
Configurations

No configuration.

History

18 Oct 2026, 18:10

Type Values Removed Values Added
Summary
  • (es) Se encontró un fallo de escalada de privilegios de contenedor en ciertas imágenes de CodeReady Workspaces. Este problema se debe a que el archivo /etc/p4ssd se crea con permisos de escritura para el grupo durante la fase de construcción. En ciertas condiciones, un atacante que puede ejecutar comandos dentro de un contenedor afectado, incluso como un usuario no-root, puede 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 el UID 0, resultando en privilegios de root completos dentro del contenedor.

07 Mar 2026, 00:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 5.2
v2 : unknown
v3 : 6.4

02 Dec 2025, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-12-02 19:15

Updated : 2026-10-18 18:10


NVD link : CVE-2025-57850

Mitre link : CVE-2025-57850

CVE.ORG link : CVE-2025-57850


JSON object : View

Products Affected

No product.

CWE
CWE-276

Incorrect Default Permissions