Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/projectcapsule/capsule
  4. ›
  5. CVE-2026-61794

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

September 18, 2026

A validation bug in internal/webhook/tenant/validation/forbidden_annotations_regex.go allows an invalid ForbiddenAnnotations.Regex value to bypass Tenant admission on update. The webhook compiles ForbiddenLabels.Regex for both labels and annotations, so a malformed annotations regex can be persisted. Once stored, namespace admission later evaluates the bad regex through pkg/api/forbidden_list.go, where regexp.MustCompile can panic and cause admission failure.

References

  • github.com/advisories/GHSA-gxjc-74v5-3vx3
  • github.com/projectcapsule/capsule/commit/8d89d6865df6f41c7faa22fc9e807a57b01bfd0e
  • github.com/projectcapsule/capsule/pull/1983
  • github.com/projectcapsule/capsule/releases/tag/v0.13.7
  • github.com/projectcapsule/capsule/security/advisories/GHSA-gxjc-74v5-3vx3
  • nvd.nist.gov/vuln/detail/CVE-2026-61794

Code Behaviors & Features

Detect and mitigate CVE-2026-61794 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.13.0 before 0.13.7

Fixed versions

  • 0.13.7

Solution

Upgrade to version 0.13.7 or above.

Impact 4.9 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

go/github.com/projectcapsule/capsule/CVE-2026-61794.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:45 +0000.