CVE-2025-57847

CVE-2025-57847 is a medium-severity vulnerability in Redhat Ansible Automation Platform with a CVSS 3.x base score of 6.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-276.

Key facts

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.

Frequently asked questions

What is 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.
How severe is CVE-2025-57847?
CVE-2025-57847 has a CVSS 3.x base score of 6.4, rated medium severity. It is exploitable over local access with high attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2025-57847 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (4th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-57847?
CVE-2025-57847 affects Redhat Ansible Automation Platform. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-57847?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2025-57847 have an EU (EUVD) identifier?
Yes. CVE-2025-57847 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-209298.
When was CVE-2025-57847 published?
CVE-2025-57847 was published on 2026-04-08 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Redhat Ansible Automation Platform

All CVEs affecting Redhat Ansible Automation Platform →

Other CWE-276 (Incorrect Default Permissions) vulnerabilities

Browse all CWE-276 (Incorrect Default Permissions) vulnerabilities →