Live threats

All CVEs / Kubernetes

CVE-2025-5187Kubernetes

Medium 6.7

Priority
40
CVSS 3.1
6.7
EPSS
—
Auth required
Yes
Published
Aug 27, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-863
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Kubernetes.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go k8s.io/kubernetes < 1.31.12 1.31.12 go get k8s.io/kubernetes@v1.31.12
Go k8s.io/kubernetes ≥ 1.32.0-alpha.0 < 1.32.8 1.32.8 go get k8s.io/kubernetes@v1.32.8
Go k8s.io/kubernetes ≥ 1.33.0-alpha.0 < 1.33.4 1.33.4 go get k8s.io/kubernetes@v1.33.4
Go k8s.io/kubernetes < 1.31.12 1.31.12 go get k8s.io/kubernetes@v1.31.12
Go k8s.io/kubernetes ≥ 1.32.0-alpha.0 < 1.32.8 1.32.8 go get k8s.io/kubernetes@v1.32.8
Go k8s.io/kubernetes ≥ 1.33.0-alpha.0 < 1.33.4 1.33.4 go get k8s.io/kubernetes@v1.33.4

Per OSV / GitHub Advisories (GHSA-4x4m-3c2p-qppc, GO-2025-3915). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.