CVE-2025-57847 json
Ansible-automation-platform: privilege escalation via excessive group writable /etc/passwd permissions
published 7mo ago modified 27d ago also EUVD-2025-209298
- cvss
- 6.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Red Hat Red Hat Ansible Automation Platform 2.16 1789001438, 1789023765
- Red Hat Red Hat Ansible Automation Platform 2.18 1789001715, 1789023329
- Red Hat Red Hat Ansible Automation Platform 2.5 1784035663, 1784051694, 1789634812, 1789654540
- Red Hat Red Hat Ansible Automation Platform 2.6 1789654312, 1789658734, 1789661423
- Red Hat Red Hat Ansible Automation Platform 2.7 1788901236, 1789582543, 1789584820
Is CVE-2025-57847 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-57847 updated cvss 6.4
ansible-automation-platform: privilege escalation via excessive group writable /etc/passwd permissions
-
Red Hat Ansible Automation Platform 2 ansible-automation-platform-24/ee-29-rhel8, ansible-automation-platform/ee-minimal-rhel8, ansible-automation-platform/ee-minimal-rhel9, ansible-automation-platform-24/controller-rhel8, ansible-automation-platform-24/ee-minimal-rhel8, ansible-automation-platform-24/ee-minimal-rhel9, +4 moreaffected: no fix available, no fix planned “Will not fix”
-
Red Hat Ansible Automation Platform Ansible Core 2 ansible-automation-platform-tech-preview/ee-minimal-rhel9affected: no fix available
-
Red Hat Ansible Automation Platform 2.5 ansible-automation-platform-25/de-minimal-rhel8 1789634812, ansible-automation-platform-25/de-minimal-rhel9 1789654540, ansible-automation-platform-25/ee-minimal-rhel8 1784035663, ansible-automation-platform-25/ee-minimal-rhel9 1784051694fixed: vendor fix RHSA-2026:71210
-
Red Hat Ansible Automation Platform 2.6 ansible-automation-platform-26/de-minimal-rhel9 1789658734, ansible-automation-platform-26/ee-minimal-rhel9 1789654312, ansible-automation-platform-26/de-supported-rhel9 1789661423fixed: vendor fix RHSA-2026:71179
-
Red Hat Ansible Automation Platform 2.7 ansible-automation-platform-27/de-minimal-rhel9 1789582543, ansible-automation-platform-27/ee-minimal-rhel9 1788901236, ansible-automation-platform-27/de-supported-rhel9 1789584820fixed: vendor fix RHSA-2026:71177
-
Red Hat Ansible Automation Platform 2.16 ansible-automation-platform/ee-minimal-rhel8 1789001438, ansible-automation-platform/ee-minimal-rhel9 1789023765fixed: vendor fix RHSA-2026:66485
-
Red Hat Ansible Automation Platform 2.18 ansible-automation-platform/ee-minimal-rhel8 1789023329, ansible-automation-platform/ee-minimal-rhel9 1789001715fixed: vendor fix RHSA-2026:66487
-
Red Hat Ansible Automation Platform 2 ansible-automation-platform/ee-29-rhel8, ansible-automation-platform-24/de-minimal-rhel8, ansible-automation-platform-24/de-minimal-rhel9 Red Hat Ansible Automation Platform 2.5 ansible-automation-platform-25/hub-rhel8 1784050598, ansible-automation-platform-25/hub-rhel8 1789606395, ansible-automation-platform-25/gateway-rhel8 1784049566, ansible-automation-platform-25/gateway-rhel8 1789605572, ansible-automation-platform-25/hub-web-rhel8 1784054665, ansible-automation-platform-25/hub-web-rhel8 1789690469, +58 more Red Hat Ansible Automation Platform 2.6 ansible-automation-platform-26/hub-rhel9 1789611274, ansible-automation-platform-26/gateway-rhel9 1789666472, ansible-automation-platform-26/hub-web-rhel9 1789615881, ansible-automation-platform-26/receptor-rhel9 1789610120, ansible-automation-platform-26/mcp-tools-rhel9 1789609282, ansible-automation-platform-26/controller-rhel9 1789673739, +22 more Red Hat Ansible Automation Platform 2.7 ansible-automation-platform-27/hub-rhel9 1788918708, ansible-automation-platform-27/hub-rhel9 1789572632, ansible-automation-platform-27/gateway-rhel9 1788918510, ansible-automation-platform-27/gateway-rhel9 1789579764, ansible-automation-platform-27/hub-web-rhel9 1788924567, ansible-automation-platform-27/hub-web-rhel9 1789575016, +55 more Red Hat Ansible Automation Platform Ansible Core 2 ansible-automation-platform-tech-preview/ee-minimal-rhel8not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 7mo ago
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.4 | 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 2.16
- Red Hat Red Hat Ansible Automation Platform 2.18
- Red Hat Red Hat Ansible Automation Platform 2.5
- Red Hat Red Hat Ansible Automation Platform 2.6
- Red Hat Red Hat Ansible Automation Platform 2.7
- Red Hat Red Hat Ansible Automation Platform 2
- Red Hat Red Hat Ansible Automation Platform Ansible Core 2
Classification
- Weakness
-
- CWE-276 Incorrect Default Permissions
References
-
access.redhat.com
/errata/RHSA-2026:42141
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:42144
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:66482
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:66485
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:66486
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:66487
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:67279
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:71177
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:71179
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:71192
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:71210
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2025-57847
vdb-entry, vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2391092
issue-tracking, vendor-advisory
Sources
- CVE List CVE-2025-57847
- NVD CVE-2025-57847
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.