CVE-2025-57847Ansible-automation-platform: privilege escalation via excessive group writable /etc/passwd permissions
- 6.4MediumCVSS base score
- 0.19%Exploitation in 30 daysEPSS · top 92% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
- 8 months later
· 8 months later
Published
- 6 months later
· 6 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Medium6.4 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Medium6.4 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.19% · top 92% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.4.
Affected products
Red Hat · Red Hat Ansible Automation Platform 2.16
- unaffected 1789001438 – < *
Red Hat · Red Hat Ansible Automation Platform 2.16
- unaffected 1789023765 – < *
Red Hat · Red Hat Ansible Automation Platform 2.18
- unaffected 1789023329 – < *
Red Hat · Red Hat Ansible Automation Platform 2.18
- unaffected 1789001715 – < *
Red Hat · Red Hat Ansible Automation Platform 2.5
- unaffected 1784035663 – < *
Red Hat · Red Hat Ansible Automation Platform 2.5
- unaffected 1789634812 – < *
Red Hat · Red Hat Ansible Automation Platform 2.5
- unaffected 1784051694 – < *
Red Hat · Red Hat Ansible Automation Platform 2.5
- unaffected 1789654540 – < *
Red Hat · Red Hat Ansible Automation Platform 2.6
- unaffected 1789658734 – < *
Red Hat · Red Hat Ansible Automation Platform 2.6
- unaffected 1789661423 – < *
Red Hat · Red Hat Ansible Automation Platform 2.6
- unaffected 1789654312 – < *
Red Hat · Red Hat Ansible Automation Platform 2.7
- unaffected 1788901236 – < *
Red Hat · Red Hat Ansible Automation Platform 2.7
- unaffected 1789582543 – < *
Red Hat · Red Hat Ansible Automation Platform 2.7
- unaffected 1789584820 – < *
Red Hat · Red Hat Ansible Automation Platform 2
All versions: affected
Red Hat · Red Hat Ansible Automation Platform 2
All versions: unaffected
Red Hat · Red Hat Ansible Automation Platform 2
All versions: unaffected
Red Hat · Red Hat Ansible Automation Platform 2
All versions: affected
Red Hat · Red Hat Ansible Automation Platform 2
All versions: affected
Red Hat · Red Hat Ansible Automation Platform 2
All versions: affected
Red Hat · Red Hat Ansible Automation Platform 2
All versions: affected
Red Hat · Red Hat Ansible Automation Platform 2
All versions: affected
Red Hat · Red Hat Ansible Automation Platform 2
All versions: affected
Red Hat · Red Hat Ansible Automation Platform 2
All versions: unaffected
Red Hat · Red Hat Ansible Automation Platform 2
All versions: affected
Red Hat · Red Hat Ansible Automation Platform 2
All versions: affected
Red Hat · Red Hat Ansible Automation Platform 2
All versions: affected
Red Hat · Red Hat Ansible Automation Platform Ansible Core 2
All versions: unaffected
Red Hat · Red Hat Ansible Automation Platform Ansible Core 2
All versions: affected
References
References13
- RHSA-2026:42141 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:42144 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:66482 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:66485 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:66486 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:66487 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:67279 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:71177 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:71179 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:71192 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:71210 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-57847 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2391092 (opens in a new tab)issue-trackingx_refsource_REDHAT
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-209298 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-57847)Record last updated .