CVE-2026-22872: CWE-20: Improper Input Validation in projectcapsule capsule
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.
AI Analysis
Technical Summary
Capsule is a multi-tenancy and policy-based Kubernetes framework whose Controller runs with cluster-admin privileges. Before version 0.13.0, the logic that processes TenantResource RawItems forcibly sets namespaces but fails to restrict creation of cluster-scoped resources. This improper input validation (CWE-20) and insufficient authorization (CWE-863) allow tenant administrators with Tenant Owner privileges to exploit the Controller's elevated privileges to create cluster-scoped resources they cannot normally create, enabling cross-tenant privilege escalation and cluster-wide impact. The attack requires specific conditions including the default cluster-admin privilege of the Capsule Controller and Tenant Owner access. The vulnerability is patched in version 0.13.0.
Potential Impact
An attacker with Tenant Owner privileges can leverage the vulnerability to create cluster-scoped resources such as ClusterRole and ValidatingWebhookConfiguration, which can lead to privilege escalation beyond their tenant boundaries and potentially compromise the entire Kubernetes cluster. This undermines the multi-tenancy isolation guarantees of Capsule and can result in cluster-level attacks. The impact is limited by the requirement of Tenant Owner privileges and the default cluster-admin configuration of the Capsule Controller. Additional admission controllers may also reduce the risk.
Mitigation Recommendations
Upgrade Capsule to version 0.13.0 or later, where this vulnerability is patched. If upgrading immediately is not possible, review and restrict the privileges of the Capsule Controller to avoid running it with cluster-admin rights if feasible. Additionally, implement admission controllers that can block unauthorized creation of cluster-scoped resources. Patch status is not explicitly confirmed in the advisory, but version 0.13.0 is stated to fix the issue, so upgrading is the recommended remediation.
CVE-2026-22872: CWE-20: Improper Input Validation in projectcapsule capsule
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.
CVSS v4.0
Score 6.9medium
Affected software
pkg:github/projectcapsule/capsuleRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Capsule is a multi-tenancy and policy-based Kubernetes framework whose Controller runs with cluster-admin privileges. Before version 0.13.0, the logic that processes TenantResource RawItems forcibly sets namespaces but fails to restrict creation of cluster-scoped resources. This improper input validation (CWE-20) and insufficient authorization (CWE-863) allow tenant administrators with Tenant Owner privileges to exploit the Controller's elevated privileges to create cluster-scoped resources they cannot normally create, enabling cross-tenant privilege escalation and cluster-wide impact. The attack requires specific conditions including the default cluster-admin privilege of the Capsule Controller and Tenant Owner access. The vulnerability is patched in version 0.13.0.
Potential Impact
An attacker with Tenant Owner privileges can leverage the vulnerability to create cluster-scoped resources such as ClusterRole and ValidatingWebhookConfiguration, which can lead to privilege escalation beyond their tenant boundaries and potentially compromise the entire Kubernetes cluster. This undermines the multi-tenancy isolation guarantees of Capsule and can result in cluster-level attacks. The impact is limited by the requirement of Tenant Owner privileges and the default cluster-admin configuration of the Capsule Controller. Additional admission controllers may also reduce the risk.
Mitigation Recommendations
Upgrade Capsule to version 0.13.0 or later, where this vulnerability is patched. If upgrading immediately is not possible, review and restrict the privileges of the Capsule Controller to avoid running it with cluster-admin rights if feasible. Additionally, implement admission controllers that can block unauthorized creation of cluster-scoped resources. Patch status is not explicitly confirmed in the advisory, but version 0.13.0 is stated to fix the issue, so upgrading is the recommended remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-01-12T16:20:16.747Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a1de301e29bf47b503a4eb8
Added to database: 06/01/2026, 19:52:33 UTC
Last enriched: 06/08/2026, 20:51:37 UTC
Last updated: 07/31/2026, 19:22:57 UTC
Views: 56
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.