# CVE-2026-61794: Capsule: Malformed ForbiddenAnnotations.Regex can bypass Tenant validation and trigger namespace admission panic

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 35% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-18T16:26:18.669Z
- Modified: 2026-09-28T17:11:19.835Z
- Also known as: GHSA-gxjc-74v5-3vx3, GO-2026-6521
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- projectcapsule capsule: >= 0.13.0, < 0.13.7
- github.com/projectcapsule/capsule (Go): from 0.13.0 before 0.13.7

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H`
- GitHub: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/projectcapsule/capsule/security/advisories/GHSA-gxjc-74v5-3vx3> (exploit, advisory, web)
- <https://github.com/projectcapsule/capsule/pull/1983> (fix, web)
- <https://github.com/projectcapsule/capsule/commit/8d89d6865df6f41c7faa22fc9e807a57b01bfd0e> (fix, web)
- <https://github.com/projectcapsule/capsule/releases/tag/v0.13.7> (web)
- <https://github.com/projectcapsule/capsule> (package)

## Sources

- CVE List: [CVE-2026-61794](https://www.cve.org/CVERecord?id=CVE-2026-61794), CVE Terms of Use, modified 2026-09-22
- GitHub Advisory Database: [GHSA-gxjc-74v5-3vx3](https://github.com/advisories/GHSA-gxjc-74v5-3vx3), CC-BY-4.0, modified 2026-09-28
- Go Vulnerability Database: [GO-2026-6521](https://pkg.go.dev/vuln/GO-2026-6521), CC-BY-4.0, modified 2026-09-28
- NVD: [CVE-2026-61794](https://nvd.nist.gov/vuln/detail/CVE-2026-61794), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-61794 · Whole record: https://cve.day/CVE-2026-61794.json · Rebuilt by cve.day 2026-11-25T22:59:39.631Z
