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.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://access.redhat.com/security/cve/CVE-2025-57847 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2391092 Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 6.4 · redhatNVD modified 2026-10-13 18:17
Affected (CPE criteria) 1
cpe:2.3:a:redhat:ansible_automation_platform:*:*:*:*:*:*:*:*
References 13
- https://access.redhat.com/errata/RHSA-2026:42141
- https://access.redhat.com/errata/RHSA-2026:42144
- https://access.redhat.com/errata/RHSA-2026:66482
- https://access.redhat.com/errata/RHSA-2026:66485
- https://access.redhat.com/errata/RHSA-2026:66486
- https://access.redhat.com/errata/RHSA-2026:66487
- https://access.redhat.com/errata/RHSA-2026:67279
- 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
- https://access.redhat.com/security/cve/CVE-2025-57847 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2391092 Vendor Advisory