CVE-2025-5187
JSON

6.7medium

Nodes can delete themselves by adding an OwnerReference

Severity
6.7medium CVSS:3.1 by kubernetes
Exploit likelihood
0.67% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
kubernetes
Also known as
GHSA-4x4m-3c2p-qppcGO-2025-3915

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.

Affected

Product or packageVersionsReported by
Kubernetes Kubernetesfrom v1.31.0 up to v1.31.11, from v1.32.0 up to v1.32.7, from v1.33.0 up to v1.33.3CVE List
k8s.io/kubernetes (Go)before 1.31.12, from 1.32.0-alpha.0 before 1.32.8, from 1.33.0-alpha.0 before 1.33.4GitHub Advisory Database, Go Vulnerability Database

All scores

kubernetes6.7medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L
GitHub6.7medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L

Classification

CWE-863

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

Go Vulnerability Database

Kubernetes Nodes can delete themselves by adding an OwnerReference in k8s.io/kubernetes

NVD (es)

Existe una vulnerabilidad en el controlador de admisión NodeRestriction de los clústeres de Kubernetes, donde los usuarios de los nodos pueden eliminar su objeto de nodo correspondiente al aplicar una referencia de propietario a un recurso del clúster. Si el recurso OwnerReference no existe o se elimina posteriormente, el objeto de nodo en cuestión se eliminará mediante la recolección de elementos no utilizados.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2025-5187 changed 2026-02-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-4x4m-3c2p-qppc changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2025-3915 changed 2026-02-04CC-BY-4.0
NVDCVE-2025-5187 changed 2026-06-17Public domain