cve.bz

CVE-2025-57847 redhat ansible automation platform: Incorrect Default Permissions

6.4 mediumEPSS 0.2%Fix available

Medium (6.4) in redhat ansible automation platform. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.4 medium
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 8th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-04-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-276 Incorrect Default Permissions
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Ansible Automation Platform 2.16: fixed in 1789001438
  • Red Hat Red Hat Ansible Automation Platform 2.16: fixed in 1789023765
  • Red Hat Red Hat Ansible Automation Platform 2.18: fixed in 1789023329
  • Red Hat Red Hat Ansible Automation Platform 2.18: fixed in 1789001715
  • Red Hat Red Hat Ansible Automation Platform 2.5: fixed in 1784035663
  • Red Hat Red Hat Ansible Automation Platform 2.5: fixed in 1789634812
  • Red Hat Red Hat Ansible Automation Platform 2.5: fixed in 1784051694
  • Red Hat Red Hat Ansible Automation Platform 2.5: fixed in 1789654540
  • Vendor advisory: https://access.redhat.com/security/cve/CVE-2025-57847
  • Vendor advisory: https://bugzilla.redhat.com/show_bug.cgi?id=2391092

Ask an AI about this CVE

Show the promptExplain CVE-2025-57847 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-57847?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-57847?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-57847 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2025-57847

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2025-57847](https://cve.bz/cve/badge/CVE-2025-57847.svg)](https://cve.bz/cve/CVE-2025-57847)

HTML:

<a href="https://cve.bz/cve/CVE-2025-57847"><img src="https://cve.bz/cve/badge/CVE-2025-57847.svg" alt="CVE-2025-57847"></a>

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Ansible Automation Platform 2.161789001438
Red Hat Ansible Automation Platform 2.161789023765
Red Hat Ansible Automation Platform 2.181789023329
Red Hat Ansible Automation Platform 2.181789001715
Red Hat Ansible Automation Platform 2.51784035663
Red Hat Ansible Automation Platform 2.51789634812
Red Hat Ansible Automation Platform 2.51784051694
Red Hat Ansible Automation Platform 2.51789654540
Red Hat Ansible Automation Platform 2.61789658734
Red Hat Ansible Automation Platform 2.61789661423
Red Hat Ansible Automation Platform 2.61789654312
Red Hat Ansible Automation Platform 2.71788901236
Red Hat Ansible Automation Platform 2.71789582543
Red Hat Ansible Automation Platform 2.71789584820

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

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. Unless multiple processes are packaged inside a single container, that defeats the principle behind containerization, this bug can not be used to meaningfully escalate privileges.

Also, RHEL, and any common linux distributions do NOT add any additional users to the root group. The presence of the root group is strictly due to conformance with POSIX permission management requirements and can be considered to be an artifact of filesystem permission limitations.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.16ansible-automation-platform/ee-minimal-rhel8:1789001438Fixed 2026-09-10RHSA-2026:66485
Red Hat Ansible Automation Platform 2.16ansible-automation-platform/ee-minimal-rhel9:1789023765Fixed 2026-09-10RHSA-2026:66482
Red Hat Ansible Automation Platform 2.18ansible-automation-platform/ee-minimal-rhel8:1789023329Fixed 2026-09-10RHSA-2026:66487
Red Hat Ansible Automation Platform 2.18ansible-automation-platform/ee-minimal-rhel9:1789001715Fixed 2026-09-10RHSA-2026:66486
Red Hat Ansible Automation Platform 2.5ansible-automation-platform-25/ee-minimal-rhel8:1784035663Fixed 2026-07-20RHSA-2026:42144
Red Hat Ansible Automation Platform 2.5ansible-automation-platform-25/de-minimal-rhel8:1789634812Fixed 2026-09-23RHSA-2026:71210
Red Hat Ansible Automation Platform 2.5ansible-automation-platform-25/ee-minimal-rhel9:1784051694Fixed 2026-07-20RHSA-2026:42141
Red Hat Ansible Automation Platform 2.5ansible-automation-platform-25/de-minimal-rhel9:1789654540Fixed 2026-09-23RHSA-2026:71192
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/de-minimal-rhel9:1789658734Fixed 2026-09-23RHSA-2026:71179
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/de-supported-rhel9:1789661423Fixed 2026-09-23RHSA-2026:71179
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/controller-rhel8Will not fix
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/de-minimal-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/de-minimal-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-29-rhel8Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-minimal-rhel8Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-minimal-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/ansible-dev-tools-rhel8Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/controller-rhel8-operatorWill not fix
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/ee-supported-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform/ee-29-rhel8Not affected
9 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-57847.

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-127 Directory Indexing Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON