CVE-2025-57847
published 2026-04-08CVE-2025-57847: A container privilege escalation flaw was found in certain Ansible Automation Platform images. This issue arises from the /etc/passwd file being created with…
PriorityP335medium6.4CVSS 3.1
AVLACHPRHUINSUCHIHAH
EPSS
0.16%
5.3th percentile
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
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| redhat | ansible_automation_platform | <= 2.6 | — |
CVSS provenance
nvdv3.16.4MEDIUMCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
vendor_redhat6.4MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VulDB
Red Hat Ansible Automation Platform 2 default permission (WID-SEC-2026-1033)
vuldb·2026-08-07·CVSS 6.4
CVE-2025-57847 [MEDIUM] Red Hat Ansible Automation Platform 2 default permission (WID-SEC-2026-1033)
A vulnerability was found in Red Hat Ansible Automation Platform 2. It has been declared as critical. Affected by this issue is some unknown functionality. Executing a manipulation can lead to incorrect default permissions.
This vulnerability is handled as CVE-2025-57847. It is possible to launch the attack on the local host. There is not any exploit available.
GHSA
GHSA-49g2-wpmf-55pv: A container privilege escalation flaw was found in certain Ansible Automation Platform images
ghsa_unreviewed·2026-04-08
CVE-2025-57847 [MEDIUM] CWE-276 GHSA-49g2-wpmf-55pv: A container privilege escalation flaw was found in certain Ansible Automation Platform images
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.
Red Hat
ansible-automation-platform: privilege escalation via excessive group writable /etc/passwd permissions
vendor_redhat·2026-04-08·CVSS 6.4
CVE-2025-57847 [MEDIUM] CWE-276 ansible-automation-platform: privilege escalation via excessive group writable /etc/passwd permissions
ansible-automation-platform: privilege escalation via excessive group writable /etc/passwd permissions
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.
Statement: Red Hat Product Security has rated this vulnerability as moderate severity for affected products which run on OpenShift. The vulne
No detection rules found.
No public exploits indexed.
2026-04-08
Published