CVE-2025-57847
A container privilege escalation flaw was found in certain Ansible …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- access.redhat.com/security/cve/CVE-2025-57847
- bugzilla.redhat.com/show_bug.cgi?id=2391092
- 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:66487
- access.redhat.com/errata/RHSA-2026:66485
- access.redhat.com/errata/RHSA-2026:66486
- nvd.nist.gov/vuln/detail/CVE-2025-57847
- cve.org/CVERecord?id=CVE-2025-57847
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.