Skip to content
OpenAdvisories
Medium · 4.3 CVE-2026-42541 EUVD-2026-29707GHSA-wqcw-g35j-j578GO-2026-5716

Kubewarden: RBAC Reconnaissance via unchecked can_i host capability call

Published May 12, 2026 · Updated May 14, 2026 · Assigned by GitHub_M

Description

Kubewarden is a policy engine for Kubernetes. Prior to , An attacker with privileged AdmissionPolicy or AdmissionPolicyGroup create permissions (which isn't the default) can craft a policy that makes use of the can_i host callback. The callback issues a SubjectAccessReview (SAR) requests to enumerate RBAC permissions of any user or service account across the cluster. can_i does not perform that check to enforce the context-aware allow-list and forwards the request directly to the callback handler, which executes a real SubjectAccessReview using policy-server privileges. This creates a policy-level authorization gap: can_i is effectively usable even when the policy has no context-aware resource grant. This is an information disclosure / reconnaissance issue, and not direct workload data exfiltration. The attacker learns permission information, such as whether specific service accounts can "get secrets", "create pods", or "bind clusterroles" in chosen namespaces. This vulnerability is fixed in .

Affected products

VendorProductAffectedFixed
kubewarden kubewarden-controller < 1.35.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/kubewarden/kubewarden-controller < 1.35.0 1.35.0 GHSA-wqcw-g35j-j578

Advisories 1

References