CVE-2025-57853

A container privilege escalation flaw was found in certain Web Terminal 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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:redhat:web_terminal:-:*:*:*:*:*:*:*

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 Web Terminal. 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, 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 UID 0, lo que lleva a privilegios de root completos dentro del contenedor.

01 May 2026, 20:52

Type Values Removed Values Added
CPE cpe:2.3:a:redhat:web_terminal:-:*:*:*:*:*:*:*
First Time Redhat web Terminal
Redhat
References () https://access.redhat.com/security/cve/CVE-2025-57853 - () https://access.redhat.com/security/cve/CVE-2025-57853 - Vendor Advisory
References () https://bugzilla.redhat.com/show_bug.cgi?id=2391106 - () https://bugzilla.redhat.com/show_bug.cgi?id=2391106 - 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-57853

Mitre link : CVE-2025-57853

CVE.ORG link : CVE-2025-57853


JSON object : View

Products Affected

redhat

  • web_terminal
CWE
CWE-276

Incorrect Default Permissions