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 UID 0, thereby gaining root privileges within the container. The vulnerability has a CVSS score of 6. 4, indicating medium severity. No official patch or remediation level is currently confirmed by Red Hat. There are no known exploits in the wild at this time.
AI Analysis
Technical Summary
This vulnerability involves incorrect default permissions on the /etc/passwd file in certain container images of Red Hat Ansible Automation Platform 2. Because the file is group-writable, an attacker with command execution inside the container and root group membership can escalate privileges by adding a new user with UID 0. This allows full root access within the container environment. The CVSS vector indicates that the attack requires local access with high privileges and no user interaction, impacting confidentiality, integrity, and availability. Red Hat has published an advisory but has not yet provided a confirmed patch or remediation guidance.
Potential Impact
An attacker who can execute commands inside an affected container and is a member of the root group can escalate privileges to root by modifying the /etc/passwd file. This results in full root privileges within the container, potentially compromising container integrity and confidentiality. The vulnerability does not directly affect the host system but can lead to significant container-level compromise.
Mitigation Recommendations
Patch status is not yet confirmed — check the Red Hat 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 and avoid granting root group membership inside containers. Monitor Red Hat communications 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 UID 0, thereby gaining root privileges within the container. The vulnerability has a CVSS score of 6. 4, indicating medium severity. No official patch or remediation level is currently confirmed by Red Hat. There are no known exploits in the wild at this time.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves incorrect default permissions on the /etc/passwd file in certain container images of Red Hat Ansible Automation Platform 2. Because the file is group-writable, an attacker with command execution inside the container and root group membership can escalate privileges by adding a new user with UID 0. This allows full root access within the container environment. The CVSS vector indicates that the attack requires local access with high privileges and no user interaction, impacting confidentiality, integrity, and availability. Red Hat has published an advisory but has not yet provided a confirmed patch or remediation guidance.
Potential Impact
An attacker who can execute commands inside an affected container and is a member of the root group can escalate privileges to root by modifying the /etc/passwd file. This results in full root privileges within the container, potentially compromising container integrity and confidentiality. The vulnerability does not directly affect the host system but can lead to significant container-level compromise.
Mitigation Recommendations
Patch status is not yet confirmed — check the Red Hat 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 and avoid granting root group membership inside containers. Monitor Red Hat communications 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/15/2026, 3:51:54 PM
Last updated: 5/23/2026, 7:49:26 PM
Views: 122
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.