CVE-2026-61672 Capsule: Tenant owner bypasses Capsule's forbidden namespace/service/node label and annotation enforcement
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- Kubernetes
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| projectcapsule github.com/projectcapsule/capsule(Go) | < 0.13.7; <= 0.13.6 | 0.13.7 | Fixed |
| projectcapsule github.com/projectcapsule/capsule | = < 0.13.7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| projectcapsule github.com/projectcapsule/capsule(Go) | < 0.13.7 | 0.13.7 |
| projectcapsule github.com/projectcapsule/capsule | = < 0.13.7 | No fix listed |
| projectcapsule github.com/projectcapsule/capsule(Go) | <= 0.13.6 | No fix listed |
References
- https://github.com/projectcapsule/capsule/security/advisories/GHSA-gjw4-3v3v-rqxg exploit vendor-advisory
- https://github.com/projectcapsule/capsule/pull/1982 patch
- https://github.com/projectcapsule/capsule/commit/755cef54bf4a1bc56d6692130132bc70755bef46 patch
- github.com product
- https://github.com/projectcapsule/capsule/releases/tag/v0.13.7
- github.com