Incorrect Authorization Affecting github.com/kubernetes/kubernetes/plugin/pkg/admission/noderestriction package, versions <1.31.12>=1.32.0-alpha.0 <1.32.8>=1.33.0-alpha.0 <1.33.4


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMKUBERNETESKUBERNETESPLUGINPKGADMISSIONNODERESTRICTION-12207794
  • published28 Aug 2025
  • disclosed27 Aug 2025
  • creditPaul Viossat

Introduced: 27 Aug 2025

NewCVE-2025-5187  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade github.com/kubernetes/kubernetes/plugin/pkg/admission/noderestriction to version 1.31.12, 1.32.8, 1.33.4 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization via the NodeRestriction admission controller. An attacker can cause unauthorized deletion of node objects by patching them with an OwnerReference to a cluster-scoped resource, resulting in the node being deleted through garbage collection if the referenced resource does not exist or is later removed.

CVSS Base Scores

version 4.0
version 3.1