Back to CVE records
Medium 6.4Published Apr 8, 2026

CVE-2025-57847Ansible-automation-platform: privilege escalation via excessive group writable /etc/passwd permissions

Updated under an hour ago ()

Does this affect you?

It affects Red Hat Ansible Automation Platform 2.16 and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
6.4 MEDIUM (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-276
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
redhat
NVD analysis
Modified
Record last updated
Oct 13, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
from 1789001438 not affected
CNA record
Red Hat Red Hat Ansible Automation Platform 2.5
redhat:ansible_automation_platform
from 1784035663 not affected
CNA record
redhat ansible_automation_platform
redhat:ansible_automation_platform
through 2.6
NVD

References

  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vdb-entry, x-refsource-redhat, vendor-advisory
  • issue-tracking, x-refsource-redhat, vendor-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.