{"id":"CVE-2026-22872","published":"2026-06-01T17:42:38Z","modified":"2026-06-02T12:45:53Z","title":"Capsule TenantResource RawItems Cluster-Scoped Resource Creation Vulnerability","vendor":"projectcapsule","product":"capsule","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0068,"percentile":0.53343,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/projectcapsule/capsule/security/advisories/GHSA-qjjm-7j9w-pw72","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/projectcapsule/capsule/releases/tag/v0.13.0","tags":["x_refsource_MISC"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":10.67},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"projectcapsule","affectedVersions":[{"vendor":"projectcapsule","product":"capsule","versions":["< 0.13.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-02T12:45:37.635453Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/projectcapsule/capsule","vulnerableRanges":["<0.13.0"],"patched":["0.13.0"],"from":["GHSA-qjjm-7j9w-pw72","GO-2026-5584"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-33729","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-projectcapsule-capsule-cve-2026-22872","children":[{"from":"CVE-2026-22872","to":"CVE-2026-65835","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"From 0.13.0 until 0.13.8, after the incomplete CVE-2026-22872 fix, TenantResource RawItems and Generators in internal/controllers/resources/collect.go, including handleRawItem and handleGeneratorItem, did not apply the ResourceReference.L…","from":"CVE.org","in":"CVE-2026-65835"},{"kind":"similar","provenance":"machine","score":0.41,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2023-46254","published":"2023-11-06","fixed":"0.4.5","kev":false},{"cve":"CVE-2024-39690","published":"2024-08-20","fixed":"0.7.1","kev":false},{"cve":"CVE-2025-55205","published":"2025-08-18","fixed":"0.10.4","kev":false},{"cve":"CVE-2026-22872","published":"2026-06-01","fixed":"0.13.0","kev":false},{"cve":"CVE-2026-30963","published":"2026-06-01","fixed":"0.13.0","kev":false},{"cve":"CVE-2026-55636","published":"2026-09-15","fixed":"0.13.6","kev":false,"link":{"from":"CVE-2026-22872","to":"CVE-2026-55636","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/projectcapsule/capsule","fromFixed":"0.13.0","toFixed":"0.13.6","daysApart":106}]}},{"cve":"CVE-2026-61672","published":"2026-09-18","fixed":"0.13.7","kev":false}],"package":"Go:github.com/projectcapsule/capsule"}}