Medium severity · published Dec 2, 2025
CVE-2025-57850
Codeready-ws: privilege escalation via excessive /etc/passwd permissions
6.4
CVSS
0.2%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
High
Privileges
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 7% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RH
Red Hat OpenShift Dev Spaces · Red Hat
All versions, or not specified · source: vendor
Affected product
RH
Red Hat OpenShift Dev Spaces
Red Hat
More from Red Hat OpenShift Dev Spaces
10.0
CVE-2026-47691
Netty has Insufficient Bailiwick Validation for NS Records
9.3
CVE-2026-107935
Gvisor-tap-vsock: gvisor-tap-vsock: unathenticated arbitrary file deletion on the host via /expose
9.1
CVE-2026-39830
Invoking client can cause server deadlock on unexpected responses in golang.org/x/crypto/ssh
9.1
CVE-2026-42264
Axios: Prototype pollution read-side gadgets in HTTP adapter allow credential injection and request hijacking
8.3
CVE-2024-3727
Containers/image: digest type does not guarantee valid type