Skip to content

CVE-2026-30963 Capsule Namespace Hijacking via subresource

LowCVSS 2.7 EPSS 0.22%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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