Skip to content
6.4 Medium

CVE-2025-57847 A container privilege escalation flaw was found in certain Ansible Automation Platform images

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.

Affected products and versions

Product Affected versions Fixed in
Red Hat Ansible Automation Platform 2 Versions not published
Red Hat Ansible Automation Platform 2.5 1789654540 earliest → < 1789654540 1789654540
Red Hat Ansible Automation Platform Ansible Core 2 Versions not published
Red Hat Ansible Automation Platform 2.16 1789023765 earliest → < 1789023765 1789023765
Red Hat Ansible Automation Platform 2.18 1789001715 earliest → < 1789001715 1789001715
Red Hat Ansible Automation Platform 2.7 1789584820 earliest → < 1789584820 1789584820
Red Hat Ansible Automation Platform 2.6 1789654312 earliest → < 1789654312 1789654312

References

Timeline

  1. Published
  2. Last modified
The 211 CVEs of Red Hat Ansible Automation Platform 2 →
Track this CVE