CVE-2026-65834: CWE-20: Improper Input Validation in projectcapsule capsule
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.
AI Analysis
Technical Summary
CVE-2026-65834 is an improper input validation vulnerability in the projectcapsule Capsule framework affecting versions before 0.13.8. The issue arises because the configuration admission webhook does not validate the regex patterns stored in CapsuleConfiguration.Spec.NodeMetadata.ForbiddenLabels.Regex and ForbiddenAnnotations.Regex. A Cluster Admin can submit malformed regex patterns that cause the node admission webhook to crash when processing Node create, update, or patch requests, due to a failure in regexp.MustCompile in the code path. This vulnerability results in denial of service of the node admission webhook. The issue is fixed in version 0.13.8.
Potential Impact
An attacker with Cluster Admin privileges can cause the node admission webhook to crash by submitting malformed regex patterns in the Capsule configuration. This leads to denial of service for node admission operations (create, update, patch), potentially disrupting cluster management workflows. There is no direct confidentiality or integrity impact reported.
Mitigation Recommendations
Upgrade to projectcapsule Capsule version 0.13.8 or later, where the configuration admission webhook properly validates regex inputs to prevent malformed patterns. Patch status is confirmed fixed in 0.13.8. No other mitigation is indicated.
CVE-2026-65834: CWE-20: Improper Input Validation in projectcapsule capsule
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.
CVSS v3.1
Score 6.8medium
Affected software
pkg:github/projectcapsule/capsuleRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-65834 is an improper input validation vulnerability in the projectcapsule Capsule framework affecting versions before 0.13.8. The issue arises because the configuration admission webhook does not validate the regex patterns stored in CapsuleConfiguration.Spec.NodeMetadata.ForbiddenLabels.Regex and ForbiddenAnnotations.Regex. A Cluster Admin can submit malformed regex patterns that cause the node admission webhook to crash when processing Node create, update, or patch requests, due to a failure in regexp.MustCompile in the code path. This vulnerability results in denial of service of the node admission webhook. The issue is fixed in version 0.13.8.
Potential Impact
An attacker with Cluster Admin privileges can cause the node admission webhook to crash by submitting malformed regex patterns in the Capsule configuration. This leads to denial of service for node admission operations (create, update, patch), potentially disrupting cluster management workflows. There is no direct confidentiality or integrity impact reported.
Mitigation Recommendations
Upgrade to projectcapsule Capsule version 0.13.8 or later, where the configuration admission webhook properly validates regex inputs to prevent malformed patterns. Patch status is confirmed fixed in 0.13.8. No other mitigation is indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-22T23:16:47.753Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a6baf0d9c2644c7f89b9bb1
Added to database: 07/30/2026, 20:07:41 UTC
Last enriched: 07/30/2026, 20:25:51 UTC
Last updated: 07/31/2026, 00:24:02 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.