{"id":"CVE-2026-22872","state":"PUBLISHED","title":"Capsule TenantResource RawItems Cluster-Scoped Resource Creation Vulnerability","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.","publishedAt":"2026-06-01T17:42:38.376Z","updatedAt":"2026-06-02T12:45:53.146Z","severity":{"score":6.9,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["projectcapsule capsule"],"affected":[{"vendor":"projectcapsule","product":"capsule","versions":[{"version":"< 0.13.0","status":"affected"}]}],"references":["https://github.com/projectcapsule/capsule/security/advisories/GHSA-qjjm-7j9w-pw72","https://github.com/projectcapsule/capsule/releases/tag/v0.13.0"],"weaknesses":["CWE-20","CWE-863"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/22xxx/CVE-2026-22872.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-22872","state":"PUBLISHED","datePublished":"2026-06-01T17:42:38.376Z","dateUpdated":"2026-06-02T12:45:53.146Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-01-12T16:20:16.747Z"},"containers":{"cna":{"title":"Capsule TenantResource RawItems Cluster-Scoped Resource Creation Vulnerability","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"projectcapsule","product":"capsule","versions":[{"version":"< 0.13.0","status":"affected"}]}],"references":[{"url":"https://github.com/projectcapsule/capsule/security/advisories/GHSA-qjjm-7j9w-pw72","name":"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","name":"https://github.com/projectcapsule/capsule/releases/tag/v0.13.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"HIGH","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"HIGH","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20: Improper Input Validation","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-863","lang":"en","description":"CWE-863: Incorrect Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-06-01T17:42:38.376Z"},"source":{"advisory":"GHSA-qjjm-7j9w-pw72","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/projectcapsule/capsule/security/advisories/GHSA-qjjm-7j9w-pw72","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-02T12:45:37.635453Z","id":"CVE-2026-22872","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-02T12:45:53.146Z"}}]}}}