Advisory

GHSA-4x4m-3c2p-qppc

Also known as: CVE-2025-5187, GO-2025-3915

Summary

Kubernetes Nodes can delete themselves by adding an OwnerReference

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-08-27 18:31 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

k8s.io/kubernetes

Go · All systems

Affected

  • introduced 0, fixed 1.31.12 (semver)

Fixed versions

1.31.12

Fix

k8s.io/kubernetes

Go · All systems

Affected

  • introduced 1.32.0-alpha.0, fixed 1.32.8 (semver)

Fixed versions

1.32.8

Fix

k8s.io/kubernetes

Go · All systems

Affected

  • introduced 1.33.0-alpha.0, fixed 1.33.4 (semver)

Fixed versions

1.33.4

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences