{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-57850","id":"CVE-2025-57850","title":"Codeready-ws: privilege escalation via excessive /etc/passwd permissions","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 coul","descriptionLong":"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.","published":"2025-12-02T18:53:35.641Z","updated":"2026-10-18T18:10:00.100Z","reserved":"2025-08-21T14:40:40.822Z","status":"Deferred","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"redhat"},"metrics":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"redhat"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"redhat.com"}],"rating":"medium","products":["Red Hat OpenShift Dev Spaces"],"affectedProducts":[{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","defaultStatus":"affected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","defaultStatus":"affected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","defaultStatus":"affected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","defaultStatus":"affected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","defaultStatus":"affected","versions":[],"platforms":[]}],"packages":[],"cwes":["CWE-276"],"aliases":[],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2025-57850","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2391103","tags":["issue-tracking","x_refsource_REDHAT"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00191,"epssPercentile":0.08925,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-57850","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57850","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-57850","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-57850","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}