PT-2025-48768 · Red Hat · Codeready Workspaces

Published

2025-12-02

·

Updated

2026-03-07

·

CVE-2025-57850

CVSS v3.1

6.4

Medium

VectorAV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions CodeReady Workspaces (affected versions not specified)
Description A container privilege escalation flaw exists in certain CodeReady Workspaces images. The issue arises from the /etc/passwd file being created with group-writable permissions during the build process. An attacker with command execution within an affected container, even as a non-root user, can exploit their root group membership to modify the /etc/passwd file. This allows the attacker to add a new user with an arbitrary UID, potentially including UID 0, resulting in full root privileges within the container.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

LPE

Incorrect Default Permissions

Weakness Enumeration

Related Identifiers

CVE-2025-57850

Affected Products

Codeready Workspaces