CVE-2025-57847Ansible-automation-platform: privilege escalation via excessive group writable /etc/passwd permissions
Updated under an hour ago ()
Does this affect you?
It affects Red Hat Ansible Automation Platform 2.16 and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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
- 6.4 MEDIUM (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
- Weakness (CWE)
- CWE-276
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- redhat
- NVD analysis
- Modified
- Record last updated
- Oct 13, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Red Hat Red Hat Ansible Automation Platform 2.16 redhat:ansible_core | from 1789001438 not affected | CNA record |
Red Hat Red Hat Ansible Automation Platform 2.5 redhat:ansible_automation_platform | from 1784035663 not affected | CNA record |
redhat ansible_automation_platform redhat:ansible_automation_platform | through 2.6 | NVD |
References
- https://access.redhat.com/errata/RHSA-2026:42141vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:42144vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:66482vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:66485vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:66486vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:66487vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:67279vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:71177vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:71179vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:71192vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:71210vendor-advisory, x-refsource-redhat
- https://access.redhat.com/security/cve/CVE-2025-57847vdb-entry, x-refsource-redhat, vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2391092issue-tracking, x-refsource-redhat, vendor-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.