Description
Capsule is a multi-tenancy and policy-based framework for Kubernetes. Prior to 0.13.7, ForbiddenListSpec.ExactMatch in pkg/api/forbidden_list.go sorts denied metadata keys case-insensitively and then uses sort.SearchStrings, which assumes byte-order sorting. When an administrator's forbidden list mixes capitalized and lowercase keys or otherwise has different case-insensitive and byte ordering, the binary search can return false for a key that is present. An authenticated tenant owner can then pass the missed key through api.ValidateForbidden and bypass configured namespace, Service, or delegated node metadata restrictions, potentially influencing cluster policies, network exposure, or scheduling outside the tenant boundary. Uniformly lowercase lists whose two orderings coincide are not affected. This issue is fixed in version 0.13.7.
Published: 2026-09-18
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Privilege Escalation via Bypass of Namespace and Node Restrictions
Action: Apply Patch
AI Analysis

Impact

The vulnerability resides in how Capsule’s ForbiddenListSpec.ExactMatch sorts denied metadata keys. The implementation sorts keys case‑insensitively but then performs a byte‑order binary search. When a forbidden list mixes capitalized and lowercase keys, the two orderings diverge, causing the search to miss valid entries. An authenticated tenant owner can exploit this by including a mis‑ordered key that the system mistakenly treats as allowed, thereby passing through api.ValidateForbidden and bypassing configured namespace, Service, or node metadata restrictions. This gives the tenant owner the ability to influence cluster policies, network exposure, or scheduling beyond the intended tenant boundary, effectively escalating privileges within the cluster. The weakness is encapsulated by CWE‑697 and CWE‑863, indicating reliance on erroneous conditions for safety checking and improper input validation in a security control. The CVSS score of 7.1 indicates a high severity.

Affected Systems

The affected product is Capsule, the multi‑tenancy framework for Kubernetes developed by Project Capsule. Versions prior to 0.13.7 are vulnerable, as the patch that corrects the sorting and binary search logic is released with the 0.13.7 release. Current installations using any earlier revision must be considered at risk until they apply the fix.

Risk and Exploitability

The exploit requires the ability to own or create a tenant, granting authentication as a tenant owner. Once authenticated, the attacker crafts a forbidden list entry that the system mis‑interprets, delegating permission to bypass namespace, Service, or node restrictions. The vulnerability is not dependent on network exposure or privileged system access; it can be executed from anywhere a tenant owner can configure settings. The EPSS score is not available, but the CVSS 7.1 rating implies significant potential impact. The vulnerability is not listed in CISA’s KEV catalog, suggesting no known widespread exploitation yet, but the attack vector remains viable in any open‑cluster environment where tenant owners have permission to alter forbidden lists. Prompt remediation is therefore advised to prevent privilege escalation.

Generated by OpenCVE AI on September 19, 2026 at 12:18 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Capsule to version 0.13.7 or later to apply the authoritative fix.
  • Review existing forbidden lists and ensure all keys are consistently lowercase and ordered to avoid future binary search mismatches.
  • Audit tenant owner privileges and apply the principle of least privilege to restrict the ability to modify forbidden lists or create tenants.

Generated by OpenCVE AI on September 19, 2026 at 12:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-gjw4-3v3v-rqxg Capsule: Tenant owner bypasses Capsule's forbidden namespace/service/node label and annotation enforcement
History

Fri, 18 Sep 2026 16:45:00 +0000

Type Values Removed Values Added
Description Capsule is a multi-tenancy and policy-based framework for Kubernetes. Prior to 0.13.7, ForbiddenListSpec.ExactMatch in pkg/api/forbidden_list.go sorts denied metadata keys case-insensitively and then uses sort.SearchStrings, which assumes byte-order sorting. When an administrator's forbidden list mixes capitalized and lowercase keys or otherwise has different case-insensitive and byte ordering, the binary search can return false for a key that is present. An authenticated tenant owner can then pass the missed key through api.ValidateForbidden and bypass configured namespace, Service, or delegated node metadata restrictions, potentially influencing cluster policies, network exposure, or scheduling outside the tenant boundary. Uniformly lowercase lists whose two orderings coincide are not affected. This issue is fixed in version 0.13.7.
Title Capsule: Tenant owner bypasses Capsule's forbidden namespace/service/node label and annotation enforcement
Weaknesses CWE-697
CWE-863
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-18T16:29:45.913Z

Reserved: 2026-07-10T18:25:21.468Z

Link: CVE-2026-61672

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-18T17:16:58.537

Modified: 2026-09-18T17:16:58.537

Link: CVE-2026-61672

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-19T12:30:17Z

Weaknesses