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

- Severity: Medium 6.4 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-04-08T13:55:00.729Z
- Modified: 2026-10-13T18:17:12.227Z
- Weaknesses: CWE-276
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- ansible-automation-platform/ee-minimal-rhel8: no versions given (not affected: from 1789001438 before *; from 1789023329 before *)
- ansible-automation-platform/ee-minimal-rhel9: no versions given (not affected: from 1789023765 before *; from 1789001715 before *)
- ansible-automation-platform-25/ee-minimal-rhel8: no versions given (not affected: from 1784035663 before *)
- ansible-automation-platform-25/de-minimal-rhel8: no versions given (not affected: from 1789634812 before *)
- ansible-automation-platform-25/ee-minimal-rhel9: no versions given (not affected: from 1784051694 before *)
- ansible-automation-platform-25/de-minimal-rhel9: no versions given (not affected: from 1789654540 before *)
- ansible-automation-platform-26/de-minimal-rhel9: no versions given (not affected: from 1789658734 before *)
- ansible-automation-platform-26/de-supported-rhel9: no versions given (not affected: from 1789661423 before *)
- ansible-automation-platform-26/ee-minimal-rhel9: no versions given (not affected: from 1789654312 before *)
- ansible-automation-platform-27/ee-minimal-rhel9: no versions given (not affected: from 1788901236 before *)
- ansible-automation-platform-27/de-minimal-rhel9: no versions given (not affected: from 1789582543 before *)
- ansible-automation-platform-27/de-supported-rhel9: no versions given (not affected: from 1789584820 before *)
- ansible-automation-platform-24/controller-rhel8: no versions given
- ansible-automation-platform-24/de-minimal-rhel8: no versions given
- ansible-automation-platform-24/de-minimal-rhel9: no versions given
- ansible-automation-platform-24/ee-29-rhel8: no versions given
- ansible-automation-platform-24/ee-minimal-rhel8: no versions given
- ansible-automation-platform-24/ee-minimal-rhel9: no versions given
- ansible-automation-platform-25/ansible-dev-tools-rhel8: no versions given
- ansible-automation-platform-25/controller-rhel8-operator: no versions given
- ansible-automation-platform-26/ee-supported-rhel9: no versions given
- ansible-automation-platform/ee-29-rhel8: no versions given
- ansible-automation-platform-tech-preview/ansible-devspaces-rhel9: no versions given
- ansible-automation-platform-tech-preview/ee-minimal-rhel8: no versions given
- ansible-automation-platform-tech-preview/ee-minimal-rhel9: no versions given
- redhat ansible_automation_platform: up to 2.6

## References

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

## Sources

- CVE List: [CVE-2025-57847](https://www.cve.org/CVERecord?id=CVE-2025-57847), CVE Terms of Use, modified 2026-10-13
- NVD: [CVE-2025-57847](https://nvd.nist.gov/vuln/detail/CVE-2025-57847), Public domain, modified 2026-10-13

---

Page: https://cve.day/CVE-2025-57847 · Whole record: https://cve.day/CVE-2025-57847.json · Rebuilt by cve.day 2026-11-25T22:59:12.047Z
