# GO-2026-6519: Capsule: hostnameRegexHandler.OnUpdate validates stale (old) Tenant regex, allowing invalid AllowedHostnames regex to bypass webhook validation in github.com/projectcapsule/capsule

- Database: Go
- Published: 2026-09-28
- Modified: 2026-09-28

## Tracked as

- [CVE-2026-61795](https://cve.now/CVE-2026-61795.md): Capsule is a multi-tenancy and policy-based framework for Kubernetes

## Also published as

- [GHSA-F94Q-W3W8-CJ67](https://cve.now/GHSA-F94Q-W3W8-CJ67.md) (GitHub)

## Affected versions

- github.com/projectcapsule/capsule (Go): from 0.13.0, fixed in 0.13.7

## Description

Capsule: hostnameRegexHandler.OnUpdate validates stale (old) Tenant regex, allowing invalid AllowedHostnames regex to bypass webhook validation in github.com/projectcapsule/capsule

## References

- https://github.com/projectcapsule/capsule/security/advisories/GHSA-f94q-w3w8-cj67
- https://github.com/projectcapsule/capsule/commit/8d89d6865df6f41c7faa22fc9e807a57b01bfd0e
- https://github.com/projectcapsule/capsule/pull/1983
- https://github.com/projectcapsule/capsule/releases/tag/v0.13.7

Page: https://cve.now/GO-2026-6519

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
