CVE-2025-57850CWE-276

CVE-2025-57850

Medium · published December 3, 2025

CVSS v3.1
6.4
EPSS
0%
Percentile
7.0
In the wild
Unconfirmed
What it is

A container privilege escalation flaw was found in certain CodeReady Workspaces 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.

The record
Technical detail
CVSS v3.1
6.4 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00178 · 7.0th percentile
Weakness
CWE-276 · Incorrect Default Permissions
Published
2025-12-03T00:15Z
References (2)
EPSS history
Timeline
  • 02 DEC 18:53Z
    Codeready-ws: privilege escalation via excessive /etc/passwd permissions
    cvelistv5