CVE-2025-57847
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.
How to fix
- access.redhat.com/errata/RHSA-2026:42141
- access.redhat.com/errata/RHSA-2026:42144
- access.redhat.com/errata/RHSA-2026:66482
- access.redhat.com/errata/RHSA-2026:66485
- access.redhat.com/errata/RHSA-2026:66486
- access.redhat.com/errata/RHSA-2026:66487
- access.redhat.com/errata/RHSA-2026:67279
- access.redhat.com/errata/RHSA-2026:71177
- access.redhat.com/errata/RHSA-2026:71179
- access.redhat.com/errata/RHSA-2026:71192
- access.redhat.com/errata/RHSA-2026:71210
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat ansible_automation_platform | v ≤ 2.6 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.