Container Privilege Escalation Vulnerability in Web Terminal Images
CVE-2025-57853
6.4MEDIUM
What is CVE-2025-57853?
A privilege escalation vulnerability exists in certain Web Terminal images due to the improper creation of the /etc/passwd file with group-writable permissions during the build process. This flaw allows an attacker who has the ability to execute commands within the affected container to exploit their membership in the root group. As a result, they can modify the /etc/passwd file and potentially add a new user with any arbitrary UID, including UID 0, which grants full root access within the container environment.
References
CVSS V3.1
Score:
6.4
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
High
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Red Hat would like to thank Antony Di Scala and Michael Whale for reporting this issue.