medium6.4
CVE-2025-57847
A container privilege escalation flaw was found in certain Ansible Automation Platform images.
Impact
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 products
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Ansible Automation Platform | through 2.6 |
Weakness classification
References
- NVD record
- CVE.org record
- 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