CVE-2025-57847: Incorrect Default Permissions in Red Hat Red Hat Ansible Automation Platform 2
CVE-2025-57847 is a container privilege escalation vulnerability in Red Hat Ansible Automation Platform 2. The issue stems from the /etc/passwd file being created with group-writable permissions during the container image build process. An attacker with command execution inside the container and membership in the root group can modify /etc/passwd to add a user with arbitrary UID, including root (UID 0), thereby gaining full root privileges within the container.
AI Analysis
Technical Summary
This vulnerability in Red Hat Ansible Automation Platform 2 involves incorrect default permissions on the /etc/passwd file inside certain container images. Because the file is group-writable, an attacker who can execute commands inside the container and is part of the root group can alter /etc/passwd to create a new user with any UID, including 0. This leads to privilege escalation to root within the container environment. The CVSS 3.1 score is 6.4, reflecting medium severity with high impact on confidentiality, integrity, and availability, but requiring local access with high privileges and no user interaction.
Potential Impact
An attacker with local command execution inside the affected container and root group membership can escalate privileges to root by modifying /etc/passwd. This compromises container integrity and confidentiality by allowing arbitrary root-level access within the container. The vulnerability does not affect the host system directly but undermines container security boundaries.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory at https://access.redhat.com/security/cve/CVE-2025-57847 for current remediation guidance. Until an official fix is available, restrict container access to trusted users only and avoid granting root group membership inside containers. Monitor Red Hat advisories for updates on patches or workarounds.
CVE-2025-57847: Incorrect Default Permissions in Red Hat Red Hat Ansible Automation Platform 2
Description
CVE-2025-57847 is a container privilege escalation vulnerability in Red Hat Ansible Automation Platform 2. The issue stems from the /etc/passwd file being created with group-writable permissions during the container image build process. An attacker with command execution inside the container and membership in the root group can modify /etc/passwd to add a user with arbitrary UID, including root (UID 0), thereby gaining full root privileges within the container.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Red Hat Ansible Automation Platform 2 involves incorrect default permissions on the /etc/passwd file inside certain container images. Because the file is group-writable, an attacker who can execute commands inside the container and is part of the root group can alter /etc/passwd to create a new user with any UID, including 0. This leads to privilege escalation to root within the container environment. The CVSS 3.1 score is 6.4, reflecting medium severity with high impact on confidentiality, integrity, and availability, but requiring local access with high privileges and no user interaction.
Potential Impact
An attacker with local command execution inside the affected container and root group membership can escalate privileges to root by modifying /etc/passwd. This compromises container integrity and confidentiality by allowing arbitrary root-level access within the container. The vulnerability does not affect the host system directly but undermines container security boundaries.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory at https://access.redhat.com/security/cve/CVE-2025-57847 for current remediation guidance. Until an official fix is available, restrict container access to trusted users only and avoid granting root group membership inside containers. Monitor Red Hat advisories for updates on patches or workarounds.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2025-08-21T14:40:40.821Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2025-57847","vendor":"Red Hat"}]
Threat ID: 69d664421cc7ad14da7c09ae
Added to database: 4/8/2026, 2:20:50 PM
Last enriched: 4/8/2026, 2:36:37 PM
Last updated: 4/8/2026, 3:21:44 PM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.