CVE-2025-57847

Medium

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.

SeverityMedium
CVSS6.4
Exploit probability—
ProductRedhat Ansible Automation Platform
PublishedApr 8, 2026
First seenApr 8, 2026
Weakness typeCWE-276CWE-276

How to fix

Affected products

ProductAffected versionsFixed in
redhat ansible_automation_platformv ≤ 2.6—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.