CVE-2025-8766

A container privilege escalation flaw was found in certain Multi-Cloud Object Gateway Core 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:openshift_data_foundation:4.0:*:*:*:*:*:*:*

History

05 Jun 2026, 19:54

Type Values Removed Values Added
CPE cpe:2.3:a:redhat:openshift_data_foundation:4.0:*:*:*:*:*:*:*
First Time Redhat
Redhat openshift Data Foundation
References () https://access.redhat.com/security/cve/CVE-2025-8766 - () https://access.redhat.com/security/cve/CVE-2025-8766 - Third Party Advisory
References () https://bugzilla.redhat.com/show_bug.cgi?id=2387265 - () https://bugzilla.redhat.com/show_bug.cgi?id=2387265 - Third Party Advisory
Summary
  • (es) Se encontró una falla de escalada de privilegios de contenedor en ciertas imágenes de Multi-Cloud Object Gateway Core. Este problema se origina en la creación del archivo /etc /passwd 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 /passwd. 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.

13 Mar 2026, 19:53

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-13 19:53

Updated : 2026-06-05 19:54


NVD link : CVE-2025-8766

Mitre link : CVE-2025-8766

CVE.ORG link : CVE-2025-8766


JSON object : View

Products Affected

redhat

  • openshift_data_foundation
CWE
CWE-276

Incorrect Default Permissions