CVE-2025-57847

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

Configuration 1 (hide)

cpe:2.3:a:redhat:ansible_automation_platform:*:*:*:*:*:*:*:*

History

21 Jul 2026, 06:16

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:42141 -
  • () https://access.redhat.com/errata/RHSA-2026:42144 -

01 May 2026, 20:19

Type Values Removed Values Added
CPE cpe:2.3:a:redhat:ansible_automation_platform:*:*:*:*:*:*:*:*
References () https://access.redhat.com/security/cve/CVE-2025-57847 - () https://access.redhat.com/security/cve/CVE-2025-57847 - Vendor Advisory
References () https://bugzilla.redhat.com/show_bug.cgi?id=2391092 - () https://bugzilla.redhat.com/show_bug.cgi?id=2391092 - Vendor Advisory
First Time Redhat
Redhat ansible Automation Platform

08 Apr 2026, 14:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-08 14:16

Updated : 2026-07-21 06:16


NVD link : CVE-2025-57847

Mitre link : CVE-2025-57847

CVE.ORG link : CVE-2025-57847


JSON object : View

Products Affected

redhat

  • ansible_automation_platform
CWE
CWE-276

Incorrect Default Permissions