Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V13 - Configuration Default permission hardening
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS 6.4 score reflects the narrow attack preconditions: local access (AV:L), high complexity (AC:H), and high privileges required (PR:H). However, these constraints are somewhat misleading in a container context. The PR:H indicates the attacker must already be a high-privilege user (root group member), but in shared or multi-tenant container environments, non-root container processes are commonplace and may indeed possess root group membership through POSIX group assignments. The AC:H (high complexity) suggests exploitation requires unusual conditions, but modification of /etc/passwd via group membership is straightforward once those preconditions exist. The EPSS score is not provided in the input, limiting probability assessment. CISA KEV status is not confirmed, and no public proof-of-concept is reported, indicating this is not yet confirmed as actively exploited or widely weaponized. The real-world risk depends heavily on deployment context: container environments with multi-user access, CI/CD pipelines, or shared container images face higher risk. In single-user or well-isolated container scenarios, risk is lower. The vulnerability is primarily relevant to container security postures rather than traditional host-based security. |
| Exploit ScenarioDerived | A non-root application process running within a Red Hat Web Terminal container that is a member of the root group (GID 0) could execute a simple command sequence to append a new root-privileged user entry to /etc/passwd. For example, using 'echo hacker:x:0:0::/root:/bin/sh >> /etc/passwd' followed by 'su hacker' would grant the attacker root shell access within the container, enabling complete compromise of the containerized application and access to any secrets or data mounted therein. No public exploit code is currently known, but the attack is trivial to execute once the group membership prerequisite is met. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 08, 2026
Container privilege escalation in Red Hat Web Terminal allows local attackers with group membership to modify the /etc/passwd file and create arbitrary user accounts including root. The vulnerability stems from overly permissive group-writable permissions on /etc/passwd during image build, enabling privilege escalation from non-root container users to full root access within the container. Red Hat Web Terminal across multiple versions is affected; no public exploit code or active exploitation has been reported at the time of analysis.
RemediationAI
The primary remediation is to apply a patched version of Red Hat Web Terminal that corrects the /etc/passwd file permissions during the build process. Exact patched version numbers are not specified in the available advisory data; consult the Red Hat Security Advisory at https://access.redhat.com/security/cve/CVE-2025-57853 for the specific patch release. As an interim mitigation, system administrators should ensure that /etc/passwd within Web Terminal container images is created with restrictive permissions (typically 0644 or 0444) and verify that no non-root user accounts or group memberships unnecessarily grant write access to critical system files. Container image builds should include explicit permission corrections in Dockerfile RUN directives (e.g., 'chmod 0644 /etc/passwd') to override any inherited or default permissions. Review container user and group configuration to limit group memberships to necessary accounts only.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability is rooted in CWE-276 (Incorrect Default Permissions), a widespread class of flaws involving insufficiently restrictive file permissions during software creation or deployment. The Web Terminal container image is built with /etc/passwd configured as group-writable, typically having permissions like 0664 or broader. Container users who are members of the root group (GID 0) can therefore write directly to this critical system file without elevated privileges. By appending lines to /etc/passwd in the format 'username:x:UID:GID:gecos:home:shell', an attacker can register new user identities with the system, including UID 0 (root). The Linux user namespace and container runtime treat /etc/passwd as the source of truth for user identity mapping; writing a UID 0 entry allows the attacker to become root within the container namespace. This attack does not escape the container boundary but grants complete control within it. The affected CPE is cpe:2.3:a:red_hat:red_hat_web_terminal:*:*:*:*:*:*:*:*, indicating all versions of Red Hat Web Terminal are potentially affected.
Know when Red Hat Web Terminal gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A container privilege escalation flaw was found in certain Web Terminal images. This issue stems from the /etc/passwd file being created with group-writable permissions during build time. 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 could allow the attacker to add a new user with any arbitrary UID, including UID 0, leading to full root privileges within the container.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
EUVD-2025-209302
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB