CVE-2025-57847

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

Published Apr 8, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:ansible_core:2
Type Values Removed Values Added
CPEs cpe:/a:redhat:ansible_automation_platform:2.7::el9
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:ansible_core:2.16::el8
cpe:/a:redhat:ansible_core:2.18::el9
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:ansible_core:2 cpe:/a:redhat:ansible_core:2.16::el9
cpe:/a:redhat:ansible_core:2.18::el8
References
Type Values Removed Values Added
First Time appeared Redhat ansible Core
CPEs cpe:/a:redhat:ansible_core:2
Vendors & Products Redhat ansible Core
Type Values Removed Values Added
CPEs cpe:/a:redhat:ansible_automation_platform:2.5::el8
cpe:/a:redhat:ansible_automation_platform:2.5::el9
References
Type Values Removed Values Added
CPEs cpe:2.3:a:redhat:ansible_automation_platform:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Ansible-automation-platform: privilege escalation via excessive group writable /etc/passwd permissions
First Time appeared Redhat
Redhat ansible Automation Platform
Weaknesses CWE-276
CPEs cpe:/a:redhat:ansible_automation_platform:2
Vendors & Products Redhat
Redhat ansible Automation Platform
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Oct 13, 2026, 5:10 PM
Reserved
Aug 21, 2025, 2:40 PM
Status
Modified
Published
Apr 8, 2026, 2:16 PM
Modified
Oct 13, 2026, 6:17 PM
Severity
Moderate
Public date
Apr 8, 2026, 1:47 PM