Skip to main content

Capsule CVE-2026-65834

| EUVDEUVD-2026-51295 MEDIUM
Improper Input Validation (CWE-20)
2026-07-30 GitHub_M GHSA-68cj-mvg9-rgm2
6.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Cluster Admin credentials
  2. Delivery
    Patch CapsuleConfiguration with malformed regex
  3. Exploit
    Submit Node create/update/patch request
  4. Execution
    Node admission webhook invokes regexp.MustCompile
  5. Persist
    Webhook process panics and crashes
  6. Impact
    All 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

capsule < 0.13.8

Affected Packages

go github.com/projectcapsule/capsule fix: 0.13.8
euvd capsule fix: 0.13.8

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

Vendor (GitHub_M) PRIMARY 6.8 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
vuln.today AI 6.8 MEDIUM

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.

3.1 AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
SUSE MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Patch available
Jul 30, 2026 - 21:04 EUVD

DescriptionCVE.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

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Low
niche Kubernetes multi-tenancy operator, limited enterprise adoption
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy