{"schema_version":"1.9.0","id":"CVE-2025-5187","published":"2025-08-27T16:20:56.778Z","modified":"2026-08-12T03:51:08.572232183Z","aliases":["GHSA-4x4m-3c2p-qppc","GO-2025-3915"],"related":["CGA-27qc-3f8h-hx6p","SUSE-SU-2025:03289-1","openSUSE-SU-2025:15566-1","openSUSE-SU-2026:21483-1"],"summary":"Nodes can delete themselves by adding an OwnerReference","details":"A vulnerability exists in the NodeRestriction admission controller in Kubernetes clusters where node users can delete their corresponding node object by patching themselves with an OwnerReference to a cluster-scoped resource. If the OwnerReference resource does not exist or is subsequently deleted, the given node object will be deleted via garbage collection.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/kubernetes/kubernetes","events":[{"introduced":"9edcffcde5595e8a5b1a35f88c421764e575afce"},{"last_affected":"7e94e1ce5c71407a782db8ef701e290bb0246da0"},{"introduced":"70d3cc986aa8221cd1dfb1121852688902d3bf53"},{"last_affected":"158eee9fac884b429a92465edd0d88a43f81de34"},{"introduced":"60a317eadfcb839692a68eab88b2096f4d708f4f"},{"last_affected":"80779bd6ff08b451e1c165a338a7b69351e9b0b8"}],"database_specific":{"extracted_events":[{"introduced":"v1.31.0"},{"last_affected":"v1.31.11"},{"introduced":"v1.32.0"},{"last_affected":"v1.32.7"},{"introduced":"v1.33.0"},{"last_affected":"v1.33.3"}],"source":"AFFECTED_FIELD"}}],"versions":["v1.31.11","v1.33.3","v1.32.7","v1.32.6","v1.33.2","v1.31.10","v1.31.9","v1.32.5","v1.33.1","v1.33.0","v1.32.4","v1.31.8","v1.31.7","v1.32.3","v1.31.6","v1.32.2","v1.32.1","v1.31.5","v1.32.0","v1.31.4","v1.31.3","v1.31.2","v1.31.1","v1.31.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5187.json"}}],"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5187.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5187"},{"type":"REPORT","url":"https://github.com/kubernetes/kubernetes/issues/133471"},{"type":"ARTICLE","url":"https://groups.google.com/g/kubernetes-security-announce/c/znSNY7XCztE"}],"database_specific":{"cna_assigner":"kubernetes","cwe_ids":["CWE-863"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5187.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L"}]}