CVE-2026-42541
MEDIUM 4.3CVSS 3.1Kubewarden vulnerable to RBAC Reconnaissance via unchecked can_i host capability call
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
- 12 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-862
- Also known as
- GHSA-wqcw-g35j-j578GO-2026-5716
- Sources
- NVDJSONOSV GHSA-wqcw-g35j-j578JSONOSV GO-2026-5716JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/kubewarden/kubewarden-controller | < 1.35.0 | 1.35.0 |
References
- https://github.com/kubewarden/adm-controller/security/advisories/GHSA-wqcw-g35j-j578 · WEB, ADVISORY
- https://github.com/kubewarden/kubewarden-controller/security/advisories/GHSA-wqcw-g35j-j578 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-42541 · ADVISORY
- https://github.com/kubewarden/docs/pull/737 · WEB
- https://github.com/kubewarden/kubewarden-controller/pull/1693 · WEB, FIX
- https://docs.kubewarden.io/howtos/policy-servers/namespaced-policies-capabilities · WEB
- https://github.com/kubewarden/kubewarden-controller · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 12 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 May 2026)