CVE-2025-57847: medium-severity vulnerability in Red Hat Ansible Automation Platform 2
Ansible-automation-platform: privilege escalation via excessive group writable /etc/passwd permissions
Published · Updated
Follow this CVE+ Monitor Red Hat Ansible Automation Platform+ Monitor Red Hat Ansible Automation Platform Ansible Core
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.4epss 0.2%
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.
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Affected products
Red Hat · Red Hat Ansible Automation Platform 2Red Hat · Red Hat Ansible Automation Platform 2.16Red Hat · Red Hat Ansible Automation Platform 2.18Red Hat · Red Hat Ansible Automation Platform 2.5Red Hat · Red Hat Ansible Automation Platform 2.6Red Hat · Red Hat Ansible Automation Platform 2.7Red Hat · Red Hat Ansible Automation Platform Ansible Core 2Related CVEs — Red Hat Ansible Automation Platform 2
In the same product, most dangerous first.
CVE-2024-3727HIGHContainers/image: digest type does not guarantee valid typeEPSS 1.3%CVE-2026-12701CRITICALPulpcore: pulpcore: relative_path_validator bypass via directory traversal in filesystemexportEPSS 1.2%CVE-2024-11831MEDIUMNpm-serialize-javascript: cross-site scripting (xss) in serialize-javascriptEPSS 1.2%CVE-2023-50782HIGHPython-cryptography: bleichenbacher timing oracle attack against rsa decryption - incomplete fix for cve-2020-25659EPSS 1.1%CVE-2026-44189HIGHAnsible-lightspeed: visual studio code ansible lightspeed extension: arbitrary code execution via malicious playbook filenameEPSS 1.0%CVE-2026-12398HIGHGalaxy_ng: shell injection in legacy role import via unsanitized git ref namesEPSS 0.9%
References
https://access.redhat.com/errata/RHSA-2026:42141https://access.redhat.com/errata/RHSA-2026:42144https://access.redhat.com/errata/RHSA-2026:66482https://access.redhat.com/errata/RHSA-2026:66485https://access.redhat.com/errata/RHSA-2026:66486https://access.redhat.com/errata/RHSA-2026:66487https://access.redhat.com/errata/RHSA-2026:67279https://access.redhat.com/errata/RHSA-2026:71177https://access.redhat.com/errata/RHSA-2026:71179https://access.redhat.com/errata/RHSA-2026:71192https://access.redhat.com/errata/RHSA-2026:71210https://access.redhat.com/security/cve/CVE-2025-57847