Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 65%

CVE-2026-22872: CWE-20: Improper Input Validation in projectcapsule capsule

0
Medium
VulnerabilityCVE-2026-22872cvecve-2026-22872cwe-20cwe-863
Published: 06/01/2026 (06/01/2026, 17:42:38 UTC)
Source: CVE Database V5
Vendor/Project: projectcapsule
Product: capsule

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.

CVSS v4.0

Score 6.9medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
High
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N/E:P

Affected software

GitHub Actionsmore threats →ai
projectcapsule/capsule
pkg:github/projectcapsule/capsule
Affected versions
<0.13.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/08/2026, 20:51:37 UTC

Technical Analysis

Capsule is a multi-tenancy and policy-based Kubernetes framework whose Controller runs with cluster-admin privileges. Before version 0.13.0, the logic that processes TenantResource RawItems forcibly sets namespaces but fails to restrict creation of cluster-scoped resources. This improper input validation (CWE-20) and insufficient authorization (CWE-863) allow tenant administrators with Tenant Owner privileges to exploit the Controller's elevated privileges to create cluster-scoped resources they cannot normally create, enabling cross-tenant privilege escalation and cluster-wide impact. The attack requires specific conditions including the default cluster-admin privilege of the Capsule Controller and Tenant Owner access. The vulnerability is patched in version 0.13.0.

Potential Impact

An attacker with Tenant Owner privileges can leverage the vulnerability to create cluster-scoped resources such as ClusterRole and ValidatingWebhookConfiguration, which can lead to privilege escalation beyond their tenant boundaries and potentially compromise the entire Kubernetes cluster. This undermines the multi-tenancy isolation guarantees of Capsule and can result in cluster-level attacks. The impact is limited by the requirement of Tenant Owner privileges and the default cluster-admin configuration of the Capsule Controller. Additional admission controllers may also reduce the risk.

Mitigation Recommendations

Upgrade Capsule to version 0.13.0 or later, where this vulnerability is patched. If upgrading immediately is not possible, review and restrict the privileges of the Capsule Controller to avoid running it with cluster-admin rights if feasible. Additionally, implement admission controllers that can block unauthorized creation of cluster-scoped resources. Patch status is not explicitly confirmed in the advisory, but version 0.13.0 is stated to fix the issue, so upgrading is the recommended remediation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-01-12T16:20:16.747Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a1de301e29bf47b503a4eb8

Added to database: 06/01/2026, 19:52:33 UTC

Last enriched: 06/08/2026, 20:51:37 UTC

Last updated: 07/31/2026, 19:22:57 UTC

Views: 56

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses