CVE-2025-5187

MEDIUM6.7EPSS 0.04%

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

Published: 8/27/2025Modified: 4/28/2026

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 packages (3)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1MEDIUM6.7CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L

References (7)