Description
Capsule is a multi-tenancy and policy-based framework for Kubernetes. 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.LoadResources and IsNamespacedGVK cluster-scoped resource rejection guard used by NamespacedItems, allowing a Tenant Owner to create cluster-scoped resources such as ClusterRole or ValidatingWebhookConfiguration through the cluster-admin controller client. This issue is fixed in version 0.13.8.
Published: 2026-07-30
Score: 6.6 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Capsule, a Kubernetes multi‑tenancy framework, contained an incomplete fix for a prior CVE that allowed tenant owners to create cluster‑scoped resources through the internal controller. The flaw resides in TenantResource RawItems and Generators handling functions, which bypass the usual namespace validation guard. An attacker who is a tenant owner can submit resources such as ClusterRole or ValidatingWebhookConfiguration, granting them cluster‑wide permissions they should not possess, thereby achieving cross‑tenant privilege escalation.

Affected Systems

Project Capsule Capsule versions 0.13.0 through 0.13.7 are vulnerable; the issue is corrected in version 0.13.8. No other vendors or products are listed as affected.

Risk and Exploitability

The CVSS score of 6.6 indicates medium severity, and the EPSS score is less than 1%, implying low expected exploitation frequency. The vulnerability is not in the CISA KEV catalog. The likely attack vector requires a tenant‑owner who can access the cluster‑admin controller client. If such a user submits a raw resource, the vulnerable code creates it at cluster scope, enabling unauthorized cluster‑wide actions.

Generated by OpenCVE AI on August 4, 2026 at 11:39 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Capsule to version 0.13.8 or later, which remedies the privilege escalation flaw (CWE‑269) by enforcing namespace‑scoped resource creation rules.
  • If an immediate upgrade is unavailable, employ an admission controller or fine‑grained RBAC that blocks non‑cluster‑admin users from creating cluster‑scoped resources, directly addressing CWE‑269.
  • Enable admission auditing and log reviews for cluster‑scoped resource creation to detect unauthorized privilege escalations, supporting CWE‑863 mitigation.

Generated by OpenCVE AI on August 4, 2026 at 11:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-jr6p-8pjj-mfx6 Capsule has an incomplete fix of CVE-2026-22872: TenantResource RawItems and Generators still allow cluster-scoped resource creation (cross-tenant privilege escalation)
History

Sun, 02 Aug 2026 09:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 30 Jul 2026 22:00:00 +0000

Type Values Removed Values Added
First Time appeared Projectcapsule
Projectcapsule capsule
Vendors & Products Projectcapsule
Projectcapsule capsule

Thu, 30 Jul 2026 20:15:00 +0000

Type Values Removed Values Added
Description Capsule is a multi-tenancy and policy-based framework for Kubernetes. 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.LoadResources and IsNamespacedGVK cluster-scoped resource rejection guard used by NamespacedItems, allowing a Tenant Owner to create cluster-scoped resources such as ClusterRole or ValidatingWebhookConfiguration through the cluster-admin controller client. This issue is fixed in version 0.13.8.
Title Capsule: Incomplete fix of CVE-2026-22872: TenantResource RawItems and Generators still allow cluster-scoped resource creation (cross-tenant privilege escalation)
Weaknesses CWE-269
CWE-863
References
Metrics cvssV3_1

{'score': 6.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L'}


Subscriptions

Projectcapsule Capsule
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-31T19:17:25.535Z

Reserved: 2026-07-22T23:16:47.753Z

Link: CVE-2026-65835

cve-icon Vulnrichment

Updated: 2026-07-31T19:17:16.775Z

cve-icon NVD

Status : Deferred

Published: 2026-07-30T20:18:13.267

Modified: 2026-07-31T20:16:53.843

Link: CVE-2026-65835

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T11:45:03Z

Weaknesses
  • CWE-269

    Improper Privilege Management

  • CWE-863

    Incorrect Authorization