Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Cluster Admin credentials
-
DeliveryPatch CapsuleConfiguration with malformed regex
-
ExploitSubmit Node create/update/patch request
-
ExecutionNode admission webhook invokes regexp.MustCompile
-
PersistWebhook process panics and crashes
-
ImpactAll node admission operations denied cluster-wide
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires Cluster Admin RBAC privileges (or a ClusterRole with patch/update access to CapsuleConfiguration resources) to store the malformed regex. The crash is triggered only when the NodeMetadata regex feature is active - meaning Spec.NodeMetadata.ForbiddenLabels or Spec.NodeMetadata.ForbiddenAnnotations with a Regex sub-field must be populated in the CapsuleConfiguration. The Availability impact is gated on the Kubernetes API webhook failurePolicy: clusters using failurePolicy: Fail will block all node admission after the crash, while failurePolicy: Ignore will allow node operations to proceed with policy unenforced. Limiting factors include: (1) mandatory Cluster Admin or equivalent privilege to write CapsuleConfiguration; (2) the NodeMetadata regex feature must be in use rather than left at defaults; and (3) impact severity depends on the cluster's webhook failure policy configuration. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H, score 6.8) accurately captures the principal constraint: Cluster Admin privileges (PR:H) are required, limiting the realistic attacker pool to insiders or compromised high-privilege accounts. The Scope:Changed (S:C) rating is significant - the panic in Capsule's webhook propagates to block all node admission operations across the cluster, meaning the operational blast radius far exceeds the vulnerable component alone. The Availability:High impact is genuine: in any cluster using a fail-closed webhook policy, no nodes can be added, updated, or patched until the misconfiguration is remediated. EPSS score is not provided in the available data. The vulnerability is not listed in CISA KEV and no public exploit code has been identified, indicating no confirmed active exploitation. This is a moderate-priority issue in Capsule-managed clusters - the PR:H requirement lowers urgency for externally-facing threats, but the operational impact on node management and the insider/misconfiguration risk make patching advisable without delay. |
| Exploit ScenarioDerived | An attacker with Cluster Admin credentials (or a malicious insider) patches the CapsuleConfiguration custom resource, setting Spec.NodeMetadata.ForbiddenLabels.Regex to a syntactically invalid Go regex such as '[invalid'. The next time any actor issues a kubectl label node or the cluster attempts to update a node object, Capsule's node admission webhook processes the configuration, calls regexp.MustCompile with the invalid pattern, panics, and crashes. On clusters with failurePolicy: Fail on the Capsule webhook, all subsequent Node create, update, and patch requests are rejected until the misconfiguration is corrected and the webhook restarted. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 30, 2026
Capsule's node admission webhook can be crashed cluster-wide by a Cluster Admin who stores a malformed regular expression in CapsuleConfiguration's NodeMetadata fields, causing a Go panic via regexp.MustCompile that blocks all subsequent Node create, update, and patch operations. All Capsule versions prior to 0.13.8 are affected, as confirmed by GitHub Security Advisory GHSA-68cj-mvg9-rgm2. No public exploit has been identified at time of analysis, but the Scope:Changed CVSS designation reflects that the crash cascades beyond the vulnerable Capsule component to impair node admission cluster-wide.
RemediationAI
Upgrade Capsule to v0.13.8 or later, which introduces webhook-level validation of regex fields in CapsuleConfiguration (PR #1995, commit 6a762e7). Docker image ghcr.io/projectcapsule/capsule:0.13.8 and the updated Helm chart are available from the project release page at https://github.com/projectcapsule/capsule/releases/tag/v0.13.8. If immediate upgrade is not feasible, audit all existing CapsuleConfiguration objects by running kubectl get capsuleconfiguration -o yaml and manually verifying Spec.NodeMetadata.ForbiddenLabels.Regex and Spec.NodeMetadata.ForbiddenAnnotations.Regex values compile as valid Go regex (e.g., using regexp.Compile in a test script). Additionally, restrict edit and patch permissions on CapsuleConfiguration resources via custom ClusterRole bindings to the smallest set of operators who genuinely require them - note this may interfere with normal Capsule administrative workflows if over-scoped. Advisory: https://github.com/projectcapsule/capsule/security/advisories/GHSA-68cj-mvg9-rgm2.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Capsule is a Kubernetes operator implementing multi-tenancy and policy enforcement via admission webhooks. The root cause (CWE-20, Improper Input Validation) lies in CapsuleConfiguration custom resource fields - specifically Spec.NodeMetadata.ForbiddenLabels.Regex and Spec.NodeMetadata.ForbiddenAnnotations.Regex - which accept Go regular expressions to restrict node metadata changes. These fields were stored by the Kubernetes API without validation by the CapsuleConfiguration admission webhook. When a Node create, update, or patch request subsequently arrives, the node admission webhook in internal/webhook/node/user_metadata.go invokes regexp.MustCompile (in pkg/api/forbidden_list.go) with the stored string. In Go, regexp.MustCompile panics rather than returning an error on invalid input, terminating the webhook process. The CPE cpe:2.3:a:projectcapsule:capsule:*:*:*:*:*:*:*:* covers all releases before the v0.13.8 fix introduced by PR #1995, which added proper webhook-level validation of regex properties.
Know when Capsule gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
Cluster Admin privileges required to write CapsuleConfiguration (PR:H); webhook crash propagates to all node admission cluster-wide (S:C); no confidentiality or integrity impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
Capsule is a multi-tenancy and policy-based framework for Kubernetes. Prior to 0.13.8, CapsuleConfiguration.Spec.NodeMetadata.ForbiddenLabels.Regex and CapsuleConfiguration.Spec.NodeMetadata.ForbiddenAnnotations.Regex were not validated by the configuration admission webhook, allowing a Cluster Admin to store a malformed regex that later reached regexp.MustCompile in pkg/api/forbidden_list.go through internal/webhook/node/user_metadata.go and crashed the node admission webhook on Node create, update, or patch requests. This issue is fixed in version 0.13.8.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Capsule is a multi-tenancy and policy-based framework for Kubernetes. Rated high severity (CVSS 8.8), this vulnerability
Capsule, the Kubernetes multi-tenancy and policy framework (projectcapsule/capsule), mishandles case-insensitive sorting
In Capsule 0.13.0 through 0.13.6, the Tenant validating admission webhook's hostnameRegexHandler.OnUpdate passes the new
Capsule 0.13.0 through 0.13.6 accepts a malformed ForbiddenAnnotations.Regex on Tenant updates because the update webhoo
Privilege escalation in Capsule (Kubernetes multi-tenancy framework) versions 0.13.0-0.13.7 allows authenticated Tenant
Capsule is a multi-tenancy and policy-based framework for Kubernetes. Rated high severity (CVSS 8.8), this vulnerability
capsule-proxy is a reverse proxy for Capsule kubernetes multi-tenancy framework. Rated medium severity (CVSS 4.3), this
Same weakness CWE-20 – Improper Input Validation
View allSame technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
EUVD-2026-51295
GHSA-68cj-mvg9-rgm2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB