CVE-2025-57853: Incorrect Default Permissions in Red Hat Red Hat Web Terminal
CVE-2025-57853 is a container privilege escalation vulnerability in certain Red Hat Web Terminal images caused by the /etc/passwd file having group-writable permissions at build time. 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), gaining full root privileges within the container. The vulnerability has a CVSS score of 6. 4 (medium severity). No official patch or remediation level is currently confirmed from the vendor advisory.
AI Analysis
Technical Summary
This vulnerability arises from incorrect default permissions on the /etc/passwd file in some Red Hat Web Terminal container images. Specifically, the file is created with group-writable permissions during image build, allowing users in the root group who can execute commands inside the container to modify /etc/passwd. This modification can be exploited to add new users with arbitrary user IDs, including UID 0, effectively escalating privileges to root within the container environment. The CVSS 3.1 vector indicates the attack requires local access with high privileges and high attack complexity, but results in high confidentiality, integrity, and availability impact.
Potential Impact
An attacker with command execution inside an affected container and membership in the root group can escalate privileges to root by modifying the /etc/passwd file. This leads to full root privileges within the container, potentially compromising container integrity and confidentiality. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2025-57853 for current remediation guidance. Until an official fix is available, restrict container access to trusted users and avoid granting root group membership to untrusted users within containers.
CVE-2025-57853: Incorrect Default Permissions in Red Hat Red Hat Web Terminal
Description
CVE-2025-57853 is a container privilege escalation vulnerability in certain Red Hat Web Terminal images caused by the /etc/passwd file having group-writable permissions at build time. 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), gaining full root privileges within the container. The vulnerability has a CVSS score of 6. 4 (medium severity). No official patch or remediation level is currently confirmed from the vendor advisory.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability arises from incorrect default permissions on the /etc/passwd file in some Red Hat Web Terminal container images. Specifically, the file is created with group-writable permissions during image build, allowing users in the root group who can execute commands inside the container to modify /etc/passwd. This modification can be exploited to add new users with arbitrary user IDs, including UID 0, effectively escalating privileges to root within the container environment. The CVSS 3.1 vector indicates the attack requires local access with high privileges and high attack complexity, but results in high confidentiality, integrity, and availability impact.
Potential Impact
An attacker with command execution inside an affected container and membership in the root group can escalate privileges to root by modifying the /etc/passwd file. This leads to full root privileges within the container, potentially compromising container integrity and confidentiality. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2025-57853 for current remediation guidance. Until an official fix is available, restrict container access to trusted users and avoid granting root group membership to untrusted users within containers.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2025-08-21T14:40:40.822Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2025-57853","vendor":"Red Hat"}]
Threat ID: 69d664421cc7ad14da7c09b6
Added to database: 4/8/2026, 2:20:50 PM
Last enriched: 4/15/2026, 3:52:01 PM
Last updated: 5/23/2026, 10:58:12 PM
Views: 66
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.