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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5187.json",
"cna_assigner": "kubernetes",
"cwe_ids": [
"CWE-863"
]
}{
"source": "AFFECTED_FIELD",
"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"
}
]
}