# CVE-2025-57847: Ansible-automation-platform: privilege escalation via excessive group writable /etc/passwd permissions

- Priority: **Routine**
- Reason: Not severe (CVSS 6.4, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-08 · Modified: 2026-10-13
- Record: https://cvemate.com/vulnerability/CVE-2025-57847 · JSON: https://cvemate.com/vulnerability/CVE-2025-57847/json

## Description

```text
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.
```

## Signals

- CVSS: 6.4 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.204%, percentile 10.9%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- redhat ansible\_automation\_platform: ≤ 2.6

## References

- <https://access.redhat.com/errata/RHSA-2026:42141>
- <https://access.redhat.com/errata/RHSA-2026:42144>
- <https://access.redhat.com/errata/RHSA-2026:66482>
- <https://access.redhat.com/errata/RHSA-2026:66485>
- <https://access.redhat.com/errata/RHSA-2026:66486>
- <https://access.redhat.com/errata/RHSA-2026:66487>
- <https://access.redhat.com/errata/RHSA-2026:67279>
- <https://access.redhat.com/errata/RHSA-2026:71177>
- <https://access.redhat.com/errata/RHSA-2026:71179>
- <https://access.redhat.com/errata/RHSA-2026:71192>
- <https://access.redhat.com/errata/RHSA-2026:71210>
- <https://access.redhat.com/security/cve/CVE-2025-57847>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2391092>

---

Data as of 2026-12-05T06:23:05.738Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
