{"id":"CVE-2025-57851","aliases":["CVE-2025-57851"],"related":[],"kind":"vulnerability","state":"published","title":"Mce: privilege escalation via excessive /etc/passwd permissions","summary":"A container privilege escalation flaw was found in certain Multicluster Engine for Kubernetes 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A container privilege escalation flaw was found in certain Multicluster Engine for Kubernetes 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.","source":"cvelist"},{"lang":"es","text":"Una falla de escalada de privilegios de contenedor fue encontrada en ciertas imágenes de Multicluster Engine para Kubernetes. Este problema se origina en que el archivo /etc/p4ssd es creado 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 membresía en el 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.","source":"nvd"}],"published":"2026-04-08T13:55:00.925Z","modified":"2026-07-24T20:10:00.147Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.4,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.7,"rating":"MEDIUM"}],"cwes":["CWE-276"],"affected":[{"ranges":[],"vendor":"Red Hat","product":"Multicluster Engine for Kubernetes","package":"multicluster-engine/agent-service-rhel8","cpe":"cpe:/a:redhat:multicluster_engine","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Multicluster Engine for Kubernetes","package":"multicluster-engine/assisted-service-8-rhel8","cpe":"cpe:/a:redhat:multicluster_engine","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Multicluster Engine for Kubernetes","package":"multicluster-engine/assisted-service-9-rhel9","cpe":"cpe:/a:redhat:multicluster_engine","source":"cvelist"},{"ranges":[],"vendor":"redhat","product":"advanced_cluster_management_for_kubernetes","cpe":"cpe:2.3:a:redhat:advanced_cluster_management_for_kubernetes:-:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2025-57851","tags":["vdb-entry","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2391104","tags":["issue-tracking","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]}],"credits":["Red Hat would like to thank Antony Di Scala and Michael Whale for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-04-08T15:18:31.297Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-57851","url":"https://www.cve.org/CVERecord?id=CVE-2025-57851","licence":"CVE Terms of Use","modified":"2026-05-01T20:44:04.799Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-57851","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57851","licence":"Public domain","modified":"2026-07-24T20:10:00.147Z"}],"updatedAt":"2026-11-25T22:59:12.048Z","epss":{"score":0.0012,"percentile":0.01998,"date":"2026-12-01T12:00:22.000Z"}}