Missing Authorization Affecting github.com/kubewarden/adm-controller/api/policies/v1 package, versions <1.35.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (7th 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 Missing Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMKUBEWARDENADMCONTROLLERAPIPOLICIESV1-16424177
  • published6 May 2026
  • disclosed5 May 2026
  • creditthevilledev

Introduced: 5 May 2026

CVE-2026-42541  (opens in a new tab)
CWE-862  (opens in a new tab)

How to fix?

Upgrade github.com/kubewarden/adm-controller/api/policies/v1 to version 1.35.0 or higher.

Overview

Affected versions of this package are vulnerable to Missing Authorization via the can_i callback, which issues SubjectAccessReview requests without enforcing context-aware allow-lists. An attacker can obtain information about RBAC permissions of any user or service account across the cluster by crafting a policy that leverages this callback. This is only exploitable if the attacker has privileged AdmissionPolicy or AdmissionPolicyGroup create permissions, which is not the default configuration.

Workaround

This vulnerability can be mitigated by not allowing users to create namespaced policies or by removing SubjectAccessReview "create" permissions for the PolicyServer ServiceAccount RBAC being used.

CVSS Base Scores

version 4.0
version 3.1