What’s Vulnerable › Vulnerabilities
CVE-2025-57847: Ansible-automation-platform: privilege escalation via excessive group writable /etc/passwd permissions
- Severity: medium (CVSS 6.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-08 · updated 2026-10-13
- Weakness: CWE-276
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.
Affected products
- Red Hat Ansible Automation Platform: through 2.6
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
Get alerted when CVE-2025-57847 or the next vulnerability affects your stack