MEDIUM 6.7 Go

Kubernetes Nodes can delete themselves by adding an OwnerReference

GHSA-4x4m-3c2p-qppc · CVE-2025-5187 · GO-2025-3915

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes