# CVE-2026-42541: Kubewarden: RBAC Reconnaissance via unchecked can_i host capability call

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-05-05T21:49:03.000Z
- Modified: 2026-10-26T18:10:00.173Z
- Also known as: GHSA-wqcw-g35j-j578, GO-2026-5716
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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 .

(As written by CVE List.)

## Affected

- kubewarden kubewarden-controller: < 1.35.0
- github.com/kubewarden/kubewarden-controller (Go): before 1.35.0

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/kubewarden/adm-controller/security/advisories/GHSA-wqcw-g35j-j578> (advisory, web)
- <https://github.com/kubewarden/kubewarden-controller/security/advisories/GHSA-wqcw-g35j-j578> (advisory, web)
- <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> (fix, web)
- <https://docs.kubewarden.io/howtos/policy-servers/namespaced-policies-capabilities> (web)
- <https://github.com/kubewarden/kubewarden-controller> (package)

## Sources

- CVE List: [CVE-2026-42541](https://www.cve.org/CVERecord?id=CVE-2026-42541), CVE Terms of Use, modified 2026-05-14
- GitHub Advisory Database: [GHSA-wqcw-g35j-j578](https://github.com/advisories/GHSA-wqcw-g35j-j578), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5716](https://pkg.go.dev/vuln/GO-2026-5716), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-42541](https://nvd.nist.gov/vuln/detail/CVE-2026-42541), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-42541 · Whole record: https://cve.day/CVE-2026-42541.json · Rebuilt by cve.day 2026-11-25T22:59:21.446Z
