VDB

CVE-2025-5187

CVE-2025-5187 PUBLISHED CVSS 6.7 MEDIUM

Nodes can delete themselves by adding an OwnerReference

Reported by kubernetes · Published August 27, 2025

k8s.io/kubernetes is fixed in 1.33.4, 1.32.8 and 1.31.12 (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
k8s.io/kubernetesGo Modules1.33.4, 1.32.8, 1.31.12
azuredisk-csi-fips-1.33Chainguard1.33.4-r1
rancher-webhook-0.6Chainguard0.6.10-r1
rancher-agent-2.10Wolfi2.10.9-r1
eks-distro-1.31Chainguard1.31.35-r1
docker-machine-driver-harvesterWolfi1.0.6-r4
azuredisk-csi-fips-1.31Chainguard1.31.11-r3
local-static-provisioner-fipsChainguard2.9.0-r0
azurefile-csi-fips-1.32Chainguard1.32.5-r4
kubernetes-csi-driver-hostpathWolfi1.17.0-r4
aws-efs-csi-driver-fipsChainguard2.1.11-r1
kubernetes-csi-driver-hostpathChainguard1.17.0-r4

84 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
6.7
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L

Affected products

VendorProductVersions
KubernetesKubernetesv1.31.0, v1.32.0, v1.33.0
chainguardazuredisk-csi-fips-1.330
chainguardrancher-webhook-0.60
wolfirancher-agent-2.100
chainguardeks-distro-1.310
wolfidocker-machine-driver-harvester0
chainguardazuredisk-csi-fips-1.310
chainguardlocal-static-provisioner-fips0
chainguardazurefile-csi-fips-1.320
wolfikubernetes-csi-driver-hostpath0
chainguardaws-efs-csi-driver-fips0
chainguardkubernetes-csi-driver-hostpath0
chainguardazure-container-networking0
wolfirancher-2.120
chainguardblob-csi-1.240
KubernetesKubernetes1.31.0, 1.33.0, 1.32.0
wolfiazurefile-csi-1.320
chainguardlonghorn-share-manager-fips-1.80
k8s.iokubernetes0, 1.33.0-alpha.0, 1.32.0-alpha.0
chainguardmesosphere-vsphere-csi-fips*

…and 83 more

Timeline

  • Aug 13, 2025 CVE Published
  • Aug 27, 2025 Coalition ESS Score (11 in total, the first dated here)
  • Aug 28, 2025 EPSS Score (30 in total, the first dated here)
  • Feb 26, 2026 CVE Updated
  • Mar 10, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-5187
vulnetix vdb fixes CVE-2025-5187

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-5187/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›