CVE Tools

CVE-2025-57850

Codeready-ws: privilege escalation via excessive /etc/passwd permissions

Published: Dec 2, 2025Updated: Dec 4, 2025 Sources: CVE List NVDCWE-276
5.2CVSSMEDIUM

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 Breakdown

AV:LAC:HPR:HUI:NS:UC:LI:HA:L
Exploitability
AV:LAttack Vector
Local
AC:HAttack Complexity
High
PR:HPrivileges Required
High
UI:NUser Interaction
None
Scope
S:UScope
Unchanged
Impact
C:LConfidentiality
Low
I:HIntegrity
High
A:LAvailability
Low

Weaknesses

Affected Products

red hatcommercialUSOperating Systemsaka red hat

Attack Graph

Products CVE Techniques Tactics

Click technique nodes to view MITRE ATT&CK details. Scroll to zoom, drag to pan.

Exploitability

No known exploits, KEV entries, or remediation guidance available for this vulnerability yet.

MITRE ATT&CK

1 technique
Privilege Escalation
View detailed technique mapping

References

Timeline

Published
Dec 2, 2025
Last Updated
Dec 4, 2025

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2025-57850 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows