Skip to main content
VulnerabilityPublished Updated

CVE-2025-57850: Red Hat OpenShift Dev Spaces · Incorrect Default Permissions

Affects Red Hat OpenShift Dev SpacesSource CVE Database V5

0

Not known to be exploited · CVSS 6.4 Medium.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.1 base score
6.4Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 7% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

AI-suggested

  1. Apply official patches and updates from Red Hat for OpenShift Dev Spaces and CodeReady Workspaces images as soon as they become available.
  2. Audit container image build processes to ensure that critical system files like /etc/passwd are created with secure, non-group-writable permissions.
  3. Restrict membership of the root group within containers to the minimum necessary users to reduce the risk of privilege escalation.
  4. Implement runtime security controls and monitoring to detect unauthorized modifications to critical files inside containers.
  5. Use container security scanning tools to identify insecure file permissions and configuration issues before deployment.
  6. Enforce the principle of least privilege for container users and processes, avoiding unnecessary elevated group memberships.
  7. Consider using container image signing and verification to prevent deployment of vulnerable or tampered images.
  8. Regularly review and update container security policies and access controls within OpenShift environments to limit attack surface.
  9. Educate developers and DevOps teams about secure container image creation and the risks of improper file permissions.
  10. Monitor security advisories from Red Hat and related communities for emerging threats and recommended best practices.

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.

References

Community reviews

Loading reviews…