CVE-2025-57847: Red Hat Ansible Automation Platform privilege escalation in container images

CVE-2025-57847 · Severity: medium · CVSS 6.4 · Published 2026-04-08

A security vulnerability was identified in certain container images used by the Ansible Automation Platform, a tool used for managing and deploying IT automation. Due to incorrect file permissions set during the image creation process, a user who already has the ability to run commands inside a container could potentially gain full administrative (root) control over that container. This could allow an attacker to bypass security restrictions, access sensitive data, or disrupt automation services within the affected environment.

Technologies: Redhat Ansible Automation Platform. Vendors: Redhat.

Quick answers

Is CVE-2025-57847 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-57847 being exploited in the wild.
How severe is CVE-2025-57847?
Medium severity, with a CVSS score of 6.4, published 8 April 2026.
Which products and versions are affected?
Red Hat Ansible Automation Platform 2.4; Red Hat Ansible Automation Platform 2.5.
Is there a fix for CVE-2025-57847?
A patch was published on 2026-07-20: Red Hat released security advisories RHSA-2026:42141 and RHSA-2026:42144 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2025-57847 attacked?
It is attacked with local access, in a network appliance.
Am I affected by CVE-2025-57847?
Check whether you run Redhat Ansible Automation Platform. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

This vulnerability is classified as Incorrect Default Permissions (CWE-276) within the container build process of Red Hat Ansible Automation Platform. The /etc/passwd file was inadvertently created with group-writable permissions. An attacker who has already achieved local command execution within the container and is a member of the root group can modify /etc/passwd to add a new user with UID 0. This allows for full privilege escalation to root within the container environment. The attack requires local access and is characterized by high complexity due to the preconditions required for exploitation. Red Hat has released updated container images to address this issue.

Affected products

  • Red Hat Ansible Automation Platform 2.4
  • Red Hat Ansible Automation Platform 2.5

Timeline

  • 2025-05-27: disclosed: CVE-2025-57847 assigned
  • 2026-04-08: advisory: Initial NVD publication
  • 2026-07-20: patched: Red Hat released security advisories RHSA-2026:42141 and RHSA-2026:42144

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.