Skip to content

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

MediumCVSS 6.7 EPSS 0.78%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
KubernetesDebian

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.

Upgrade path

5 packages: 5 fixed.

PackageAffectedFixed inStatus
debian/kubernetes(Debian 12) < 1.20.5+really1.20.2-1 1.20.5+really1.20.2-1 Fixed
debian/kubernetes(Debian 13) < 1.20.5+really1.20.2-1 1.20.5+really1.20.2-1 Fixed
debian/kubernetes(Debian 14) < 1.20.5+really1.20.2-1 1.20.5+really1.20.2-1 Fixed
Kubernetes >= v1.31.0, <= v1.31.11; >= v1.32.0, <= v1.32.7; >= v1.33.0, <= v1.33.3 after v1.31.11, v1.32.7, v1.33.3 Fixed
Kubernetes(Go) < 1.31.12; >= 1.32.0-alpha.0, < 1.32.7; >= 1.32.0-alpha.0, < 1.32.8; >= 1.33.0-alpha.0, < 1.33.4 1.31.12, 1.32.7, 1.32.8, 1.33.4 Fixed

Affected products

ProductAffected versionsFixed in
Kubernetes(Go) < 1.31.12 1.31.12
Kubernetes(Go) >= 1.32.0-alpha.0, < 1.32.8 1.32.8
Kubernetes(Go) >= 1.33.0-alpha.0, < 1.33.4 1.33.4
debian/kubernetes(Debian:12) < 1.20.5+really1.20.2-1 1.20.5+really1.20.2-1
debian/kubernetes(Debian:13) < 1.20.5+really1.20.2-1 1.20.5+really1.20.2-1
debian/kubernetes(Debian:14) < 1.20.5+really1.20.2-1 1.20.5+really1.20.2-1
Kubernetes(Go) >= 1.32.0-alpha.0, < 1.32.7 1.32.7
Kubernetes >= v1.31.0, <= v1.31.11 No fix listed
Kubernetes >= v1.32.0, <= v1.32.7 No fix listed
Kubernetes >= v1.33.0, <= v1.33.3 No fix listed

References