{"id":"CVE-2026-61794","state":"PUBLISHED","title":"Capsule: Malformed ForbiddenAnnotations.Regex can bypass Tenant validation and trigger namespace admission panic","description":"Capsule is a multi-tenancy and policy-based framework for Kubernetes. From 0.13.0 until 0.13.7, the Tenant update validation in internal/webhook/tenant/validation/forbidden_annotations_regex.go compiles ForbiddenLabels.Regex for both the labels and annotations checks instead of validating ForbiddenAnnotations.Regex. An administrator who can update a Tenant can therefore persist a malformed ForbiddenAnnotations.Regex while leaving the labels expression valid. Namespace creation or update later passes the stored expression through pkg/api/forbidden_list.go, where regexp.MustCompile can panic during forbidden metadata validation and deny namespace operations for the affected tenant. This issue is fixed in version 0.13.7.","publishedAt":"2026-09-18T16:26:18.669Z","updatedAt":"2026-09-22T14:55:27.246Z","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.0, < 0.13.7","status":"affected"}]}],"references":["https://github.com/projectcapsule/capsule/security/advisories/GHSA-gxjc-74v5-3vx3","https://github.com/projectcapsule/capsule/pull/1983","https://github.com/projectcapsule/capsule/commit/8d89d6865df6f41c7faa22fc9e807a57b01bfd0e","https://github.com/projectcapsule/capsule/releases/tag/v0.13.7"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/61xxx/CVE-2026-61794.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-61794","state":"PUBLISHED","datePublished":"2026-09-18T16:26:18.669Z","dateUpdated":"2026-09-22T14:55:27.246Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-10T20:06:05.617Z"},"containers":{"cna":{"title":"Capsule: Malformed ForbiddenAnnotations.Regex can bypass Tenant validation and trigger namespace admission panic","descriptions":[{"lang":"en","value":"Capsule is a multi-tenancy and policy-based framework for Kubernetes. From 0.13.0 until 0.13.7, the Tenant update validation in internal/webhook/tenant/validation/forbidden_annotations_regex.go compiles ForbiddenLabels.Regex for both the labels and annotations checks instead of validating ForbiddenAnnotations.Regex. An administrator who can update a Tenant can therefore persist a malformed ForbiddenAnnotations.Regex while leaving the labels expression valid. Namespace creation or update later passes the stored expression through pkg/api/forbidden_list.go, where regexp.MustCompile can panic during forbidden metadata validation and deny namespace operations for the affected tenant. This issue is fixed in version 0.13.7."}],"affected":[{"vendor":"projectcapsule","product":"capsule","versions":[{"version":">= 0.13.0, < 0.13.7","status":"affected"}]}],"references":[{"url":"https://github.com/projectcapsule/capsule/security/advisories/GHSA-gxjc-74v5-3vx3","name":"https://github.com/projectcapsule/capsule/security/advisories/GHSA-gxjc-74v5-3vx3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/projectcapsule/capsule/pull/1983","name":"https://github.com/projectcapsule/capsule/pull/1983","tags":["x_refsource_MISC"]},{"url":"https://github.com/projectcapsule/capsule/commit/8d89d6865df6f41c7faa22fc9e807a57b01bfd0e","name":"https://github.com/projectcapsule/capsule/commit/8d89d6865df6f41c7faa22fc9e807a57b01bfd0e","tags":["x_refsource_MISC"]},{"url":"https://github.com/projectcapsule/capsule/releases/tag/v0.13.7","name":"https://github.com/projectcapsule/capsule/releases/tag/v0.13.7","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"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-18T16:26:18.669Z"},"source":{"advisory":"GHSA-gxjc-74v5-3vx3","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/projectcapsule/capsule/security/advisories/GHSA-gxjc-74v5-3vx3","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-22T14:54:51.882379Z","id":"CVE-2026-61794","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-09-22T14:55:27.246Z"}}]}}}