6.7Medium

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

Kubernetes Kubernetes Published: (1 year ago)

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.

Weakness (CWE): CWE-863

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Kubernetes Kubernetes v1.31.0 – ≤ v1.31.11, v1.32.0 – ≤ v1.32.7, v1.33.0 – ≤ v1.33.3

References and patches