NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2025-5187: Kubernetes Nodes can delete themselves by adding an OwnerReference

mediumCVSS 3.1 6.7GHSA-4x4m-3c2p-qppc

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 Aug 27, 2025

Affected packages

k8s.io/kubernetes

Ecosystem
Go
Affected
< 1.31.12
Fixed in
1.31.12
Check
go list -m k8s.io/kubernetes

k8s.io/kubernetes

Ecosystem
Go
Affected
>= 1.32.0-alpha.0, < 1.32.7
Fixed in
1.32.8
Check
go list -m k8s.io/kubernetes

k8s.io/kubernetes

Ecosystem
Go
Affected
>= 1.33.0-alpha.0, < 1.33.4
Fixed in
1.33.4
Check
go list -m k8s.io/kubernetes

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries