PatchSiren cyber security CVE debrief
CVE-2025-57847 Red Hat CVE debrief
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.
- Vendor
- Red Hat
- Product
- Ansible Automation Platform
- CVSS
- MEDIUM 6.4
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-04-08
- Original CVE updated
- 2026-07-21
- Advisory published
- 2026-04-08
- Advisory updated
- 2026-07-21
Who should care
Security teams and administrators responsible for managing and securing Ansible Automation Platform environments should be aware of this vulnerability and take necessary actions to mitigate the risk.
Technical summary
The vulnerability exists in certain Ansible Automation Platform images due to the /etc/passwd file being created with group-writable permissions. An attacker who can execute commands within an affected container can leverage their membership in the root group to modify the /etc/passwd file, allowing them to add a new user with arbitrary UID, including UID 0, and gain full root privileges within the container.
Defensive priority
Medium priority given the CVSS score of 6.4 and the potential impact of privilege escalation within containers.
Recommended defensive actions
- Review and update Ansible Automation Platform images to ensure the /etc/passwd file is created with secure permissions.
- Implement compensating controls, such as monitoring and restricting access to sensitive files and directories.
- Apply patches or updates provided by the vendor to address the vulnerability.
- Conduct regular vulnerability assessments and penetration testing to identify potential weaknesses.
- Enforce least privilege principles and restrict user access to sensitive resources.
Evidence notes
The CVE record was published on 2026-04-08T14:16:25.577Z and was last modified on 2026-07-21T06:16:27.860Z. The NVD entry is currently Modified. Evidence is limited to public CVE and NVD information. Defenders should verify affected systems exist, review official advisories, and plan updates or mitigations. Compensating controls and monitoring should be reviewed for exposed systems. Exceptions should be tracked and remediated assets retested.
Official resources
-
CVE-2025-57847 CVE record
CVE.org
-
CVE-2025-57847 NVD detail
NVD
-
Source item URL
nvd_modified
- Source reference
- Source reference
-
Mitigation or vendor reference
[email protected] - Vendor Advisory
-
Mitigation or vendor reference
[email protected] - Vendor Advisory
AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-04-08T14:16:25.577Z and has not been modified since then. The NVD entry is currently Modified.