GitHub Advisoryadvisory · Go
GHSA-4x4m-3c2p-qppc Kubernetes Nodes can delete themselves by adding an OwnerReference
MEDIUM
Official page ↗
- Aliases
- CVE-2025-5187
- Ecosystem
- Go
- Packages
- k8s.io/kubernetes
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L
- Weaknesses
- CWE-863
- Reviewed
- 2025-08-27
Affected packages
• Go k8s.io/kubernetes: < 1.31.12 → fixed in 1.31.12
• Go k8s.io/kubernetes: >= 1.32.0-alpha.0, < 1.32.8 → fixed in 1.32.8
• Go k8s.io/kubernetes: >= 1.33.0-alpha.0, < 1.33.4 → fixed in 1.33.4
Description
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.
Related
Alias · CVE (1)
- CVE-2025-5187 A vulnerability exists in the NodeRestriction admission controller in Kubernetes clusters where node users can delete their corresponding… vulnerability
Weakness · CWE (1)
- CWE-863 Incorrect Authorization weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-5187 advisory
- https://github.com/kubernetes/kubernetes/issues/133471 web
- https://github.com/kubernetes/kubernetes/commit/a2d98cac56a0c5cb2d8abc4d087fc00846b3bc0f web
- https://github.com/kubernetes/kubernetes package
- https://groups.google.com/g/kubernetes-security-announce/c/znSNY7XCztE web