CVE-2025-57847
MediumCVSS 6.4Exploitation Probability (EPSS)
Low risk5th percentile - higher than 5% of all known CVEs
Summary
A container privilege escalation flaw was found in certain Ansible Automation Platform images. The issue arises from the /etc/passwd file being created with group-writable permissions during the build process. An attacker with command execution access, even as a non-root user, can leverage membership in the root group to modify the file and add a user with arbitrary UID, including UID 0.
Risk Assessment
The risk is that an attacker can gain full root privileges within the container, potentially leading to container compromise and broader impact on the automation environment.
Recommendation
Immediately update Ansible Automation Platform images to a version that fixes the /etc/passwd permissions. Until then, restrict container access and monitor for unusual file modifications.
Original NVD description (English source)
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.

