# CVE-2026-22872: Capsule TenantResource RawItems Cluster-Scoped Resource Creation Vulnerability

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N/E:P`
- 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.63%, higher than 44% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-28T17:02:55.000Z
- Modified: 2026-07-22T07:10:00.107Z
- Also known as: GHSA-qjjm-7j9w-pw72, GO-2026-5584
- Weaknesses: CWE-20, CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Capsule is a multi-tenancy and policy-based framework for Kubernetes. The Capsule Controller runs with cluster-admin privileges. Although the TenantResource RawItems processing logic forcibly sets the namespace, this is ineffective for cluster-scoped resources. Prior to version 0.13.0, tenant administrators can leverage the Controller's elevated privileges to create cluster-scoped resources (such as ClusterRole and ValidatingWebhookConfiguration) that they cannot create directly, achieving cross-tenant privilege escalation and cluster-level attacks. The attack vector has a few limiting factors. This attack requires Tenant Owner privileges and requires Capsule Controller running with cluster-admin privileges (default configuration). Additionally, some clusters may have additional admission controllers blocking malicious resources. Version 0.13.0 patches this issue.

(As written by CVE List.)

## Affected

- projectcapsule capsule: < 0.13.0; before 0.13.0
- github.com/projectcapsule/capsule (Go): before 0.13.0

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N/E:P`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N/E:P`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/projectcapsule/capsule/security/advisories/GHSA-qjjm-7j9w-pw72> (exploit, advisory, vendor-advisory, web)
- <https://github.com/projectcapsule/capsule/releases/tag/v0.13.0> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-22872> (advisory)
- <https://github.com/projectcapsule/capsule> (package)

## Sources

- CVE List: [CVE-2026-22872](https://www.cve.org/CVERecord?id=CVE-2026-22872), CVE Terms of Use, modified 2026-06-02
- GitHub Advisory Database: [GHSA-qjjm-7j9w-pw72](https://github.com/advisories/GHSA-qjjm-7j9w-pw72), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5584](https://pkg.go.dev/vuln/GO-2026-5584), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-22872](https://nvd.nist.gov/vuln/detail/CVE-2026-22872), Public domain, modified 2026-07-22

---

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