# CVE-2025-57847

## Summary

- **CVE ID:** CVE-2025-57847
- **Severity:** MEDIUM
- **CVSS Score:** 6.4 (CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H)
- **CWE:** CWE-276
- **Published:** Apr 8, 2026
- **Last Modified:** Sep 10, 2026

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

## Affected Products

- Red Hat — Red Hat Ansible Automation Platform 2.5 (1784035663)
- Red Hat — Red Hat Ansible Automation Platform 2.5 (1784051694)
- Red Hat — Red Hat Ansible Automation Platform 2.16 (1789023765)
- Red Hat — Red Hat Ansible Automation Platform 2.18 (1789023329)
- Red Hat — Red Hat Ansible Automation Platform 2.16 (1789001438)
- Red Hat — Red Hat Ansible Automation Platform 2.18 (1789001715)

## References

- [CNA](https://access.redhat.com/security/cve/CVE-2025-57847)
- [CNA](https://bugzilla.redhat.com/show_bug.cgi?id=2391092)
- [CNA](https://access.redhat.com/errata/RHSA-2026:42141)
- [CNA](https://access.redhat.com/errata/RHSA-2026:42144)
- [CNA](https://access.redhat.com/errata/RHSA-2026:66482)
- [CNA](https://access.redhat.com/errata/RHSA-2026:66487)
- [CNA](https://access.redhat.com/errata/RHSA-2026:66485)
- [CNA](https://access.redhat.com/errata/RHSA-2026:66486)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 0.16%
- **EPSS Percentile:** 5.5

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-17._