Nodes can delete themselves by adding an OwnerReference
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-5187
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 16:48 UTC · Revision 1
Source evidence
Nodes can delete themselves by adding an OwnerReference
core-osv · Original sourcePublished 27 Aug 2025, 16:20 UTC
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:CVE-2025-5187
Complete source record
{
"id": "123f76c9d740b2f34ec8410c5a401d0b9b0f6e3399d71042329f502f33fe9f1b",
"url": "https://osv.dev/vulnerability/CVE-2025-5187",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Nodes can delete themselves by adding an OwnerReference",
"summary": "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.",
"evidence": "osv:CVE-2025-5187",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-5187",
"aliases": [
"CVE-2025-5187",
"GHSA-4x4m-3c2p-qppc",
"GO-2025-3915"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/kubernetes/kubernetes",
"type": "GIT",
"events": [
{
"introduced": "9edcffcde5595e8a5b1a35f88c421764e575afce"
},
{
"last_affected": "7e94e1ce5c71407a782db8ef701e290bb0246da0"
},
{
"introduced": "70d3cc986aa8221cd1dfb1121852688902d3bf53"
},
{
"last_affected": "158eee9fac884b429a92465edd0d88a43f81de34"
},
{
"introduced": "60a317eadfcb839692a68eab88b2096f4d708f4f"
},
{
"last_affected": "80779bd6ff08b451e1c165a338a7b69351e9b0b8"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "v1.31.0"
},
{
"last_affected": "v1.31.11"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "v1.32.0"
},
{
"last_affected": "v1.32.7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "v1.33.0"
},
{
"last_affected": "v1.33.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
}
],
"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"
}
}
],
"modified": "2026-10-28T02:30:30.535640057Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5187.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-5187",
"https://github.com/kubernetes/kubernetes/issues/133471",
"https://groups.google.com/g/kubernetes-security-announce/c/znSNY7XCztE"
],
"provider_metadata": {
"cwe_ids": [
"CWE-863"
],
"cna_assigner": "kubernetes",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5187.json"
}
},
"related_cves": [
{
"value": "CVE-2025-5187",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 497584,
"published_at": "2025-08-27T16:20:56.778+00:00"
}