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
Share

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

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

3
Patch available
Jul 30, 2026 - 21:04 EUVD
Source Code Evidence Fetched
Jul 30, 2026 - 20:53 vuln.today
Analysis Generated
Jul 30, 2026 - 20:53 vuln.today

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.

AnalysisAI

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.

Technical ContextAI

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.

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.

CVE-2025-1974 CRITICAL POC
9.8 Mar 25

A critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access

CVE-2026-45321 CRITICAL POC
9.6 May 12

Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio

CVE-2025-1098 HIGH POC
8.8 Mar 25

Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress

CVE-2025-24514 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres

CVE-2025-1097 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-tls-match-c

CVE-2020-8554 MEDIUM POC
6.3 Jan 21

Kubernetes API server in all versions allow an attacker who is able to create a ClusterIP service and set the spec.exter

CVE-2023-3676 HIGH POC
8.8 Oct 31

A security issue was discovered in Kubernetes where a user that can create pods on Windows nodes may be able to escalate

CVE-2025-55190 CRITICAL POC
9.9 Sep 04

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Rated critical severity (CVSS 9.9), this vulne

CVE-2026-34976 CRITICAL POC
10.0 Apr 02

Unauthenticated remote attackers can trigger complete database overwrites, server-side file reads, and SSRF attacks agai

CVE-2018-18843 CRITICAL POC
10.0 Dec 04

The Kubernetes integration in GitLab Enterprise Edition 11.x before 11.2.8, 11.3.x before 11.3.9, and 11.4.x before 11.4

CVE-2026-54680 CRITICAL POC
9.9 Jul 29

Fluentd configuration injection in the kube-logging Logging operator before 6.6.0 allows a namespace-scoped user who can

CVE-2026-22039 CRITICAL POC
9.9 Jan 27

Kyverno Kubernetes policy engine prior to 1.x has a privilege escalation vulnerability (CVSS 9.9) allowing policy bypass

Share

CVE-2026-65834 vulnerability details – vuln.today

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