CVE-2025-57850: Red Hat OpenShift Dev Spaces · Incorrect Default Permissions
Affects Red Hat OpenShift Dev SpacesSource CVE Database V5
Not known to be exploited · CVSS 6.4 Medium.
Data as of 26 Oct 2026, 10:12 UTC
- 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:HExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
- Apply official patches and updates from Red Hat for OpenShift Dev Spaces and CodeReady Workspaces images as soon as they become available.
- Audit container image build processes to ensure that critical system files like /etc/passwd are created with secure, non-group-writable permissions.
- Restrict membership of the root group within containers to the minimum necessary users to reduce the risk of privilege escalation.
- Implement runtime security controls and monitoring to detect unauthorized modifications to critical files inside containers.
- Use container security scanning tools to identify insecure file permissions and configuration issues before deployment.
- Enforce the principle of least privilege for container users and processes, avoiding unnecessary elevated group memberships.
- Consider using container image signing and verification to prevent deployment of vulnerable or tampered images.
- Regularly review and update container security policies and access controls within OpenShift environments to limit attack surface.
- Educate developers and DevOps teams about secure container image creation and the risks of improper file permissions.
- 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.