CVE-2026-22872 Capsule TenantResource RawItems Cluster-Scoped Resource Creation Vulnerability

Medium 6.9 Published Updated

Tenant administrators can escalate privileges to cluster-admin level by creating cluster-scoped resources via the Capsule Controller's RawItems processing logic.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-22872?

CVE-2026-22872 is a medium-severity vulnerability in projectcapsule capsule, published on 1 Jun 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Capsule is a multi-tenancy and policy-based framework for Kubernetes. The Capsule Controller runs with cluster-admin privileges. Although the TenantResource RawItems processing logic forcibly sets the namespace, this is ineffective for cluster-scoped resources. Prior to version 0.13.0, tenant administrators can leverage the Controller's elevated privileges to create cluster-scoped resources (such as ClusterRole and ValidatingWebhookConfiguration) that they cannot create directly, achieving cross-tenant privilege escalation and cluster-level attacks. The attack vector has a few limiting factors. This attack requires Tenant Owner privileges and requires Capsule Controller running with cluster-admin privileges (default configuration). Additionally, some clusters may have additional admission controllers blocking malicious resources. Version 0.13.0 patches this issue.

Weakness: CWE-863, CWE-20

Which versions are affected by CVE-2026-22872?

3 open source packages ship an affected version, including github.com/projectcapsule/capsule. It affects 1 product.

PackageAffectedFixed in
github.com/projectcapsule/capsule GoAll versions0.13.0
github.com/projectcapsule/capsule GoAll versions0.13.0
github.com/projectcapsule/capsule GoAll versions0.13.0

Products include Projectcapsule Capsule.

How do I fix CVE-2026-22872?

Upgrade github.com/projectcapsule/capsule to 0.13.0 or later.

Is CVE-2026-22872 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22872 exists.

Sources

Also known as GHSA-qjjm-7j9w-pw72, GO-2026-5584.

Is CVE-2026-22872 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free