Skip to content
OpenAdvisories
Low · 3.9 CVE-2026-30963 EUVD-2026-33739GHSA-2ww6-hf35-mfjmGO-2026-5043

Capsule Namespace Hijacking via subresource

Published Jun 1, 2026 · Updated Jun 2, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
projectcapsule capsule < 0.13.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/projectcapsule/capsule < 0.13.0 0.13.0 GHSA-2ww6-hf35-mfjm

Advisories 1

References