CVE-2026-30963 Capsule Namespace Hijacking via subresource
- 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. To defend against namespace hijacking achieved through update/patch operations on namespaces, Capsule uses a webhook to validate update requests targeting namespaces. However, in Kubernetes, the namespace/finalize and namespace/status subresource APIs can also modify various fields of a namespace, including the metadata field. Prior to version 0.13.0, the webhook does not define interception rules for these subresources. As a result, if a tenant administrator has permission to modify namespace/status or namespace/finalize, they can successfully perform namespace hijacking. Version 0.13.0 fixes the issue. Another mitigation is to add two subresources (namespaces and snamespaces/status with namespace/finalize within it) to the resources list in the ValidatingWebhookConfiguration rules.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/projectcapsule/capsule/security/advisories/GHSA-2ww6-hf35-mfjm exploit mitigation vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- https://github.com/projectcapsule/capsule/releases/tag/v0.13.0 product release-notes
- github.com