CVE-2025-57853

Web-terminal: privilege escalation via excessive /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 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.

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:2.3:a:redhat:web_terminal:-:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Redhat web Terminal
Vendors & Products Redhat web Terminal
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 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.
Title Web-terminal: privilege escalation via excessive /etc/passwd permissions
First Time appeared Redhat
Redhat webterminal
Weaknesses CWE-276
CPEs cpe:/a:redhat:webterminal:1
Vendors & Products Redhat
Redhat webterminal
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
Apr 8, 2026, 4:06 PM
Reserved
Aug 21, 2025, 2:40 PM
Status
Analyzed
Published
Apr 8, 2026, 2:16 PM
Modified
Jul 24, 2026, 8:10 PM
Severity
Moderate
Public date
Apr 8, 2026, 1:45 PM