Skip to content

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

MediumCVSS 6.9 EPSS 0.68%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
Kubernetes

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
projectcapsule github.com/projectcapsule/capsule < 0.13.0; = < 0.13.0 0.13.0 Fixed
projectcapsule github.com/projectcapsule/capsule(Go) < 0.13.0 0.13.0 Fixed

Affected products

ProductAffected versionsFixed in
projectcapsule github.com/projectcapsule/capsule(Go) < 0.13.0 0.13.0
projectcapsule github.com/projectcapsule/capsule = < 0.13.0 No fix listed
projectcapsule github.com/projectcapsule/capsule < 0.13.0 0.13.0

References