CVE-2025-57847

MEDIUM

Ansible-automation-platform: privilege escalation via excessive group writable /etc/passwd permissions

Title source: cna
STIX 2.1

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.

References (4)

Core 4
Core References
Vendor Advisory vendor-advisory x_refsource_redhat
RHSA-2026:42141
https://access.redhat.com/errata/RHSA-2026:42141
Vendor Advisory vendor-advisory x_refsource_redhat
RHSA-2026:42144
https://access.redhat.com/errata/RHSA-2026:42144
Vdb Entry, X_Refsource_Redhat vdb-entry x_refsource_redhat
https://access.redhat.com/security/cve/CVE-2025-57847
Issue Tracking, X_Refsource_Redhat issue-tracking x_refsource_redhat
RHBZ#2391092
https://bugzilla.redhat.com/show_bug.cgi?id=2391092

Scores

CVSS v3 6.4
EPSS 0.0016
EPSS Percentile 5.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-276
Status published
Products (4)
Red Hat/Red Hat Ansible Automation Platform 2
Red Hat/Red Hat Ansible Automation Platform 2.5 1784035663
Red Hat/Red Hat Ansible Automation Platform 2.5 1784051694
redhat/ansible_automation_platform < 2.6
Published Apr 08, 2026
Tracked Since Apr 08, 2026