CVE-2025-57850Red Hat OpenShift Dev Spaces
Medium 6.4
Follow: this CVE · Red Hat · Red Hat OpenShift Dev Spaces We alert you by email or Slack (account required).
- Priority
- 38
- CVSS 3.1
- 6.4
- EPSS
- —
- Auth required
- Yes
- Published
- Dec 2, 2025
- Updated
- Oct 18, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-276
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Red Hat OpenShift Dev Spaces.
Affected products
- Red Hat · Red Hat OpenShift Dev Spaces
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.