{"id":"CVE-2026-65834","state":"PUBLISHED","title":"Capsule: CapsuleConfiguration NodeMetadata regex fields lack webhook validation, allowing MustCompile panic on all Node admission requests","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.","publishedAt":"2026-07-30T19:48:55.027Z","updatedAt":"2026-07-31T11:29:43.998Z","severity":{"score":6.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["projectcapsule capsule"],"affected":[{"vendor":"projectcapsule","product":"capsule","versions":[{"version":"< 0.13.8","status":"affected"}]}],"references":["https://github.com/projectcapsule/capsule/security/advisories/GHSA-68cj-mvg9-rgm2","https://github.com/projectcapsule/capsule/releases/tag/v0.13.8"],"weaknesses":["CWE-20","CWE-248"],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/65xxx/CVE-2026-65834.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-65834","state":"PUBLISHED","datePublished":"2026-07-30T19:48:55.027Z","dateUpdated":"2026-07-31T11:29:43.998Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-22T23:16:47.753Z"},"containers":{"cna":{"title":"Capsule: CapsuleConfiguration NodeMetadata regex fields lack webhook validation, allowing MustCompile panic on all Node admission requests","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"projectcapsule","product":"capsule","versions":[{"version":"< 0.13.8","status":"affected"}]}],"references":[{"url":"https://github.com/projectcapsule/capsule/security/advisories/GHSA-68cj-mvg9-rgm2","name":"https://github.com/projectcapsule/capsule/security/advisories/GHSA-68cj-mvg9-rgm2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/projectcapsule/capsule/releases/tag/v0.13.8","name":"https://github.com/projectcapsule/capsule/releases/tag/v0.13.8","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.8,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20: Improper Input Validation","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-248","lang":"en","description":"CWE-248: Uncaught Exception","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-30T19:48:55.027Z"},"source":{"advisory":"GHSA-68cj-mvg9-rgm2","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/projectcapsule/capsule/security/advisories/GHSA-68cj-mvg9-rgm2","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-31T11:26:23.756923Z","id":"CVE-2026-65834","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-31T11:29:43.998Z"}}]}}}