CVE-2025-57847

A container privilege escalation flaw was found in certain Ansible Automation Platform images. This issue arises from the /etc/passwd file being created with group-writable permissions during the build process. 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 vulnerability allows an attacker to add a new user with any arbitrary UID, including UID 0, gaining full root privileges within the container.
Configurations

Configuration 1 (hide)

cpe:2.3:a:redhat:ansible_automation_platform:*:*:*:*:*:*:*:*

History

24 Sep 2026, 07:16

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:71177 -
  • () https://access.redhat.com/errata/RHSA-2026:71179 -
  • () https://access.redhat.com/errata/RHSA-2026:71192 -
  • () https://access.redhat.com/errata/RHSA-2026:71210 -

21 Sep 2026, 12:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:67279 -

10 Sep 2026, 22:16

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:66485 -
  • () https://access.redhat.com/errata/RHSA-2026:66486 -

10 Sep 2026, 18:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:66482 -
  • () https://access.redhat.com/errata/RHSA-2026:66487 -

24 Jul 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) Una falla de escalada de privilegios en un contenedor fue encontrada en ciertas imágenes de Ansible Automation Platform. Este problema surge porque el archivo /etc/p4ssd se crea con permisos de escritura para el grupo durante el proceso 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. Esta vulnerabilidad permite a un atacante añadir un nuevo usuario con cualquier UID arbitrario, incluyendo UID 0, obteniendo privilegios de root completos dentro del contenedor.

21 Jul 2026, 06:16

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:42141 -
  • () https://access.redhat.com/errata/RHSA-2026:42144 -

01 May 2026, 20:19

Type Values Removed Values Added
First Time Redhat
Redhat ansible Automation Platform
CPE cpe:2.3:a:redhat:ansible_automation_platform:*:*:*:*:*:*:*:*
References () https://access.redhat.com/security/cve/CVE-2025-57847 - () https://access.redhat.com/security/cve/CVE-2025-57847 - Vendor Advisory
References () https://bugzilla.redhat.com/show_bug.cgi?id=2391092 - () https://bugzilla.redhat.com/show_bug.cgi?id=2391092 - Vendor Advisory

08 Apr 2026, 14:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-08 14:16

Updated : 2026-10-13 18:17


NVD link : CVE-2025-57847

Mitre link : CVE-2025-57847

CVE.ORG link : CVE-2025-57847


JSON object : View

Products Affected

redhat

  • ansible_automation_platform
CWE
CWE-276

Incorrect Default Permissions