Description
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Ansible Automation Platform 2.16 | — |
| Red Hat | Red Hat Ansible Automation Platform 2.16 | — |
| Red Hat | Red Hat Ansible Automation Platform 2.18 | — |
| Red Hat | Red Hat Ansible Automation Platform 2.18 | — |
| Red Hat | Red Hat Ansible Automation Platform 2.5 | — |
| Red Hat | Red Hat Ansible Automation Platform 2.5 | — |
| Red Hat | Red Hat Ansible Automation Platform 2.5 | — |
| Red Hat | Red Hat Ansible Automation Platform 2.5 | — |
| Red Hat | Red Hat Ansible Automation Platform 2.6 | — |
| Red Hat | Red Hat Ansible Automation Platform 2.6 | — |
| Red Hat | Red Hat Ansible Automation Platform 2.6 | — |
| Red Hat | Red Hat Ansible Automation Platform 2.7 | — |
| Red Hat | Red Hat Ansible Automation Platform 2.7 | — |
| Red Hat | Red Hat Ansible Automation Platform 2.7 | — |
| Red Hat | Red Hat Ansible Automation Platform 2 | — |
| Red Hat | Red Hat Ansible Automation Platform 2 | — |
| Red Hat | Red Hat Ansible Automation Platform 2 | — |
| Red Hat | Red Hat Ansible Automation Platform 2 | — |
| Red Hat | Red Hat Ansible Automation Platform 2 | — |
| Red Hat | Red Hat Ansible Automation Platform 2 | — |
| Red Hat | Red Hat Ansible Automation Platform 2 | — |
| Red Hat | Red Hat Ansible Automation Platform 2 | — |
| Red Hat | Red Hat Ansible Automation Platform 2 | — |
| Red Hat | Red Hat Ansible Automation Platform 2 | — |
| Red Hat | Red Hat Ansible Automation Platform 2 | — |
| Red Hat | Red Hat Ansible Automation Platform 2 | — |
| Red Hat | Red Hat Ansible Automation Platform 2 | — |
| Red Hat | Red Hat Ansible Automation Platform Ansible Core 2 | — |
| Red Hat | Red Hat Ansible Automation Platform Ansible Core 2 | — |
References
- 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-57847Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2391092Vendor Advisory
Timeline
- Published
- Apr 8, 2026
- Last modified
- Oct 13, 2026
- NVD status
- Modified