CVE-2025-5187
MEDIUM 6.7CVSS 3.1Kubernetes 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.
- Published
- 27 Aug 2025
- Last modified
- 10 Sep 2026
- Assigned by
- jordan@liggitt.net
- NVD status
- Deferred
- Weakness
- CWE-863
- Also known as
- GHSA-4x4m-3c2p-qppcGO-2025-3915
- Sources
- NVDJSONOSV GHSA-4x4m-3c2p-qppcJSONOSV GO-2025-3915JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | jordan@liggitt.net (Secondary) | CVSS 3.1 | MEDIUM 6.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | k8s.io/kubernetes | < 1.31.12 | 1.31.12 |
| OSV | Go | k8s.io/kubernetes | >= 1.32.0-alpha.0, < 1.32.8 | 1.32.8 |
| OSV | Go | k8s.io/kubernetes | >= 1.33.0-alpha.0, < 1.33.4 | 1.33.4 |
| OSV | Go | k8s.io/kubernetes | < 1.31.12; >= 1.32.0-alpha.0, < 1.32.8; >= 1.33.0-alpha.0, < 1.33.4 | 1.31.12, 1.32.8, 1.33.4 |
References
- https://github.com/kubernetes/kubernetes/issues/133471 · WEB
- https://groups.google.com/g/kubernetes-security-announce/c/znSNY7XCztE · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-5187 · ADVISORY
- https://github.com/kubernetes/kubernetes/commit/a2d98cac56a0c5cb2d8abc4d087fc00846b3bc0f · WEB, FIX
- https://github.com/kubernetes/kubernetes · PACKAGE
- https://github.com/advisories/GHSA-4x4m-3c2p-qppc · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 27 Aug 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Sep 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 27 Aug 2025)