Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Red Hat / Red Hat Ansible Automation Platform 2.16 | unaffected 1789001438 before * |
| Red Hat / Red Hat Ansible Automation Platform 2.16 | unaffected 1789023765 before * |
| Red Hat / Red Hat Ansible Automation Platform 2.18 | unaffected 1789023329 before * |
| Red Hat / Red Hat Ansible Automation Platform 2.18 | unaffected 1789001715 before * |
| Red Hat / Red Hat Ansible Automation Platform 2.5 | unaffected 1784035663 before * |
| Red Hat / Red Hat Ansible Automation Platform 2.5 | unaffected 1789634812 before * |
| Red Hat / Red Hat Ansible Automation Platform 2.5 | unaffected 1784051694 before * |
| Red Hat / Red Hat Ansible Automation Platform 2.5 | unaffected 1789654540 before * |
| Red Hat / Red Hat Ansible Automation Platform 2.6 | unaffected 1789658734 before * |
| Red Hat / Red Hat Ansible Automation Platform 2.6 | unaffected 1789661423 before * |
| Red Hat / Red Hat Ansible Automation Platform 2.6 | unaffected 1789654312 before * |
| Red Hat / Red Hat Ansible Automation Platform 2.7 | unaffected 1788901236 before * |
| Red Hat / Red Hat Ansible Automation Platform 2.7 | unaffected 1789582543 before * |
| Red Hat / Red Hat Ansible Automation Platform 2.7 | unaffected 1789584820 before * |
| Red Hat / Red Hat Ansible Automation Platform 2 | affected |
| Red Hat / Red Hat Ansible Automation Platform 2 | unaffected |
| Red Hat / Red Hat Ansible Automation Platform 2 | unaffected |
| Red Hat / Red Hat Ansible Automation Platform 2 | affected |
| Red Hat / Red Hat Ansible Automation Platform 2 | affected |
| Red Hat / Red Hat Ansible Automation Platform 2 | affected |
| Red Hat / Red Hat Ansible Automation Platform 2 | affected |
| Red Hat / Red Hat Ansible Automation Platform 2 | affected |
| Red Hat / Red Hat Ansible Automation Platform 2 | affected |
| Red Hat / Red Hat Ansible Automation Platform 2 | unaffected |
| Red Hat / Red Hat Ansible Automation Platform 2 | affected |
| Red Hat / Red Hat Ansible Automation Platform 2 | affected |
| Red Hat / Red Hat Ansible Automation Platform 2 | affected |
| Red Hat / Red Hat Ansible Automation Platform Ansible Core 2 | unaffected |
| Red Hat / Red Hat Ansible Automation Platform Ansible Core 2 | affected |
CWE
CWE-276
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-57847
- https://bugzilla.redhat.com/show_bug.cgi?id=2391092
ADP enrichment
No English description supplied.
No references supplied.