CVE-2026-65834
MEDIUMCapsule: CapsuleConfiguration NodeMetadata regex fields lack webhook validation, allowing MustCompile panic on all Node admission requests
Title source: cnaDescription
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.
References (2)
Core 2
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/projectcapsule/capsule/security/advisories/GHSA-68cj-mvg9-rgm2
X_Refsource_Misc x_refsource_misc
https://github.com/projectcapsule/capsule/releases/tag/v0.13.8
Scores
CVSS v3
6.8
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
Details
CWE
CWE-20
CWE-248
Status
published
Products (1)
projectcapsule/capsule
< 0.13.8
Published
Jul 30, 2026
Tracked Since
Jul 31, 2026