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.
Severity (CVSS)
| Base score | 6.8 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H |
| Provided by | CNA |
Weaknesses
- CWE-20 — CWE-20: Improper Input Validation
- CWE-248 — CWE-248: Uncaught Exception
Affected products
| Vendor | Product | Versions |
|---|---|---|
| projectcapsule | capsule | < 0.13.8 |
References
- https://github.com/projectcapsule/capsule/security/advisories/GHSA-68cj-mvg9-rgm2 (x_refsource_CONFIRM)
- https://github.com/projectcapsule/capsule/releases/tag/v0.13.8 (x_refsource_MISC)
Generated from the official CVE List on 31 Jul 2026 07:05 UTC.