Skip to content
VulniPulse
Advisory severityMedium6.4Red Hat Linux

Medium [CVE-2025-57847] privilege escalation via excessive group writable /etc/passwd permissions

This medium-severity Red Hat Linux advisory covers CVE-2025-57847 affecting Red Hat Ansible Automation Platform 2.16, Red Hat Ansible Automation Platform 2.18, Red Hat Ansible Automation Platform 2.5.

Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.

CVE-2025-57847 Source published Source updated

VulniPulse record published

CVE-2025-57847
Affected products & platforms
Red Hat LinuxUnclassified
Open source advisory

Summary

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.

Red Hat Product Security has rated this vulnerability as moderate severity for affected products which run on OpenShift. The vulnerability allows for potential privilege escalation within a container, but OpenShift's default, multi-layered security posture effectively mitigates this risk.

The primary controls include the default Security Context Constraints (SCC), which severely limit a container's permissions from the start, and SELinux, which enforces mandatory access control to ensure strict isolation.

While other container runtime environments may have different controls available and require case-by-case analysis, OpenShift's built-in defenses are designed to prevent this type of attack. Out of Box RHEL configuration isolates a single process inside a container.

Is CVE-2025-57847 exploited?

No exploitation is reported in the sources VulniPulse tracks: CVE-2025-57847 is not in the CISA KEV catalog (checked ) and this advisory does not report exploitation. That is not proof the vulnerability cannot be exploited.

How do I fix CVE-2025-57847?

Upgrade to a fixed release named by Red Hat:

  • ansible-automation-platform/ee-minimal-rhel8:1789001438
  • ansible-automation-platform/ee-minimal-rhel9:1789023765
  • ansible-automation-platform/ee-minimal-rhel8:1789023329
  • ansible-automation-platform/ee-minimal-rhel9:1789001715
  • ansible-automation-platform-25/ee-minimal-rhel8:1784035663
  • ansible-automation-platform-25/de-minimal-rhel8:1789634812
  • ansible-automation-platform-25/ee-minimal-rhel9:1784051694
  • ansible-automation-platform-25/de-minimal-rhel9:1789654540
  • ansible-automation-platform-26/de-minimal-rhel9:1789658734
  • ansible-automation-platform-26/de-supported-rhel9:1789661423
  • ansible-automation-platform-26/ee-minimal-rhel9:1789654312
  • ansible-automation-platform-27/ee-minimal-rhel9:1788901236

13 more fixed releases are listed below.

Confirm against the vendor advisory before you patch.

Affected versions

No affected-version range was extracted from the source record. The vendor advisory is authoritative. Check it before change work.

Official advisory · high-confidence parse· fetched 14 days ago·verify at source

Fixed versions
  • ansible-automation-platform/ee-minimal-rhel8:1789001438
  • ansible-automation-platform/ee-minimal-rhel9:1789023765
  • ansible-automation-platform/ee-minimal-rhel8:1789023329
  • ansible-automation-platform/ee-minimal-rhel9:1789001715
  • ansible-automation-platform-25/ee-minimal-rhel8:1784035663
  • ansible-automation-platform-25/de-minimal-rhel8:1789634812
  • ansible-automation-platform-25/ee-minimal-rhel9:1784051694
  • ansible-automation-platform-25/de-minimal-rhel9:1789654540
  • ansible-automation-platform-26/de-minimal-rhel9:1789658734
  • ansible-automation-platform-26/de-supported-rhel9:1789661423
  • ansible-automation-platform-26/ee-minimal-rhel9:1789654312
  • ansible-automation-platform-27/ee-minimal-rhel9:1788901236
  • ansible-automation-platform-27/de-minimal-rhel9:1789582543
  • ansible-automation-platform-27/de-supported-rhel9:1789584820
  • RHSA-2026:66485
  • RHSA-2026:66482
  • RHSA-2026:66487
  • RHSA-2026:66486
  • RHSA-2026:42144
  • RHSA-2026:71210
  • RHSA-2026:42141
  • RHSA-2026:71192
  • RHSA-2026:71179
  • RHSA-2026:67279
  • RHSA-2026:71177

Official advisory · high-confidence parse· fetched 14 days ago·verify at source

Mitigation

Upgrade to a fixed release: ansible-automation-platform/ee-minimal-rhel8:1789001438, ansible-automation-platform/ee-minimal-rhel9:1789023765, ansible-automation-platform/ee-minimal-rhel8:1789023329, ansible-automation-platform/ee-minimal-rhel9:1789001715, ansible-automation-platform-25/ee-minimal-rhel8:1784035663, ansible-automation-platform-25/de-minimal-rhel8:1789634812. That is the remediation for this advisory.

The vendor advisory may list interim mitigations or workarounds not captured here. Review it before change work.

Official advisory · high-confidence parse· fetched 14 days ago·verify at source

Get an email when Red Hat publishes the next one.

See Red Hat's last 90 days of advisories first. Then choose one product with live alerts free for life, or a free month of real-time alerts on everything with the severity, the fixed version and the vendor's link (card needed, then US$15/month; we email you before the first charge).

Alert me about Red Hat
All Red Hat Linux advisories

iPhone and Android apps · New on the App Store

Monitor future Red Hat Linux CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.