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 .
Published: 2026-05-12
Score: 4.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Kubewarden is a policy engine for Kubernetes that allows administrators to define admission policies. The vulnerability allows an attacker who has privileged AdmissionPolicy or AdmissionPolicyGroup create permissions—permissions that are not granted by default—to craft a policy that uses the can_i host capability callback. The callback issues a SubjectAccessReview to the cluster, bypassing the context‑aware allow‑list enforcement that can_i is supposed to provide. As a result, the policy can retrieve RBAC permissions for any user or service account, revealing whether they can perform actions such as "get secrets," "create pods," or "bind clusterroles" in selected namespaces. This results in an information disclosure or reconnaissance issue rather than direct exfiltration of workload data.

Affected Systems

The flaw affects the Kubewarden controller component, specifically the kubewarden-controller product. Only deployments that employ privilege‑granting AdmissionPolicy or AdmissionPolicyGroup create permissions are susceptible; the vulnerability is tied to the policy engine’s handling of the can_i host callback within that controller.

Risk and Exploitability

The CVSS score of 4.3 indicates a moderate severity, and the EPSS score is not available. The vulnerability is not listed in the CISA KEV catalog, suggesting no known active exploitation. Exploitation requires a privileged user who can create admission policies, a capability typically limited to cluster administrators. An attacker would craft a custom policy that triggers the can_i callback, thereby enumerating RBAC permissions across the cluster. The likely attack vector is internal via the Kubernetes API, inferred because the callback performs a cluster‑wide SubjectAccessReview. Successful exploitation results only in the discovery of existing permissions rather than direct data theft.

Generated by OpenCVE AI on May 12, 2026 at 20:39 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade kubewarden-controller to the latest version that implements a proper context‑aware allow‑list for can_i callbacks.
  • Revoke the privileged AdmissionPolicy and AdmissionPolicyGroup create permissions from regular users and restrict them to trusted administrators only.
  • Audit existing admission policies for host callbacks that use can_i and remove or modify those that are unnecessary.
  • If an upgrade cannot be performed immediately, consider disabling the can_i host capability in the policy engine or applying a temporary RBAC restriction that blocks SubjectAccessReview calls from untrusted policies.

Generated by OpenCVE AI on May 12, 2026 at 20:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-wqcw-g35j-j578 Kubewarden vulnerable to RBAC Reconnaissance via unchecked can_i host capability call
History

Thu, 14 May 2026 13:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 12 May 2026 23:45:00 +0000

Type Values Removed Values Added
First Time appeared Kubewarden
Kubewarden kubewarden-controller
Vendors & Products Kubewarden
Kubewarden kubewarden-controller

Tue, 12 May 2026 18:15:00 +0000

Type Values Removed Values Added
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 .
Title Kubewarden: RBAC Reconnaissance via unchecked can_i host capability call
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}


Subscriptions

Kubewarden Kubewarden-controller
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-05-14T12:23:15.858Z

Reserved: 2026-04-28T16:56:50.190Z

Link: CVE-2026-42541

cve-icon Vulnrichment

Updated: 2026-05-14T12:23:13.293Z

cve-icon NVD

Status : Deferred

Published: 2026-05-12T18:17:24.957

Modified: 2026-05-13T18:24:31.310

Link: CVE-2026-42541

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-12T23:30:26Z

Weaknesses