Description
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.
Published: 2026-07-30
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Capsule stores configuration data for Kubernetes node metadata. In versions prior to 0.13.8 the regex strings in CapsuleConfiguration.Spec.NodeMetadata.ForbiddenLabels.Regex and ForbiddenAnnotations.Regex were not validated by the admission webhook. A cluster administrator can store an invalid regular expression; when a node admission request triggers the webhook, the string is compiled with regexp.MustCompile, causing a panic that terminates the webhook process. The result is a denial of service for node creation, update, or patch operations, disrupting admission control until the webhook is restarted.

Affected Systems

Any Capsule installation version 0.13.7 or earlier is affected. The flaw exists whenever CapsuleConfiguration objects are allowed to be created or modified by a cluster administrator. The issue is fixed in Capsule release 0.13.8 and later.

Risk and Exploitability

The CVSS score of 6.8 classifies the vulnerability as medium severity. EPSS indicates a very low likelihood of exploitation, with a score below 1%. The flaw is not listed in the CISA KEV catalog, so no publicly known exploits are available. Exploitation requires privileged access to modify CapsuleConfiguration objects and authentication of node admission requests, limiting the risk to environments where such permissions are granted.

Generated by OpenCVE AI on August 4, 2026 at 11:40 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Capsule to version 0.13.8 or later, where regex fields are validated before use.
  • Manually correct or remove any malformed regex entries from CapsuleConfiguration.Spec.NodeMetadata.ForbiddenLabels.Regex and ForbiddenAnnotations.Regex in existing configurations.
  • Restrict edit permissions on CapsuleConfiguration objects to trusted administrators and implement a review process for changes that involve regular expressions.

Generated by OpenCVE AI on August 4, 2026 at 11:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-68cj-mvg9-rgm2 Capsule: CapsuleConfiguration NodeMetadata regex fields lack webhook validation, allowing MustCompile panic on all Node admission requests
History

Fri, 31 Jul 2026 12:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 30 Jul 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Projectcapsule
Projectcapsule capsule
Vendors & Products Projectcapsule
Projectcapsule capsule

Thu, 30 Jul 2026 20:15:00 +0000

Type Values Removed Values Added
Description 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.
Title Capsule: CapsuleConfiguration NodeMetadata regex fields lack webhook validation, allowing MustCompile panic on all Node admission requests
Weaknesses CWE-20
CWE-248
References
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H'}


Subscriptions

Projectcapsule Capsule
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-31T11:29:43.998Z

Reserved: 2026-07-22T23:16:47.753Z

Link: CVE-2026-65834

cve-icon Vulnrichment

Updated: 2026-07-31T11:29:38.485Z

cve-icon NVD

Status : Deferred

Published: 2026-07-30T20:18:13.107

Modified: 2026-07-31T12:16:53.700

Link: CVE-2026-65834

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T11:45:03Z

Weaknesses