Medium severity · published Apr 8, 2026
CVE-2025-57847
Ansible-automation-platform: privilege escalation via excessive group writable /etc/passwd permissions
6.4
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
High
Privileges
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 7% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RH
Red Hat Ansible Automation Platform 2 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Ansible Automation Platform 2.16 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Ansible Automation Platform 2.18 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Ansible Automation Platform 2.5 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Ansible Automation Platform 2.6 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Ansible Automation Platform 2.7 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Ansible Automation Platform Ansible Core 2 · Red Hat
All versions, or not specified · source: vendor
AA
Ansible Automation Platform · Redhat
through 2.6 · source: NVD
Affected product
RH
Red Hat Ansible Automation Platform 2
Red Hat
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-57847
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-57847
vendor-advisory
https://access.redhat.com/errata/RHSA-2026:42141
vendor-advisory
https://access.redhat.com/errata/RHSA-2026:42144
vendor-advisory
https://access.redhat.com/errata/RHSA-2026:66482
vendor-advisory
https://access.redhat.com/errata/RHSA-2026:66485
vendor-advisory
https://access.redhat.com/errata/RHSA-2026:66486
vendor-advisory
https://access.redhat.com/errata/RHSA-2026:66487
More from Red Hat Ansible Automation Platform 2
10.0
CVE-2026-42043
Axios: Incomplete Fix for CVE-2025-62718 — NO_PROXY Protection Bypassed via RFC 1122 Loopback Subnet (127.0.0.0/8) in Axios 1.15.0
9.9
CVE-2025-62718
Axios has a NO_PROXY Hostname Normalization Bypass that Leads to SSRF
9.8
CVE-2026-49468
LiteLLM: Authentication Bypass via Host Header Injection
9.8
CVE-2026-39892
cryptography has a buffer overflow if non-contiguous buffers were passed to APIs
9.8
CVE-2026-27459
pyOpenSSL DTLS cookie callback buffer overflow
