{"id":"CVE-2026-61795","revision":"8a6ff34d6cd5463e9241f09d84c4de15","records":[{"revision":"8a6ff34d6cd5463e9241f09d84c4de15","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-61795","aliases":[],"title":"Capsule: hostnameRegexHandler.OnUpdate validates stale (old) Tenant regex, allowing invalid AllowedHostnames regex to bypass webhook validation","description":"Capsule is a multi-tenancy and policy-based framework for Kubernetes. From 0.13.0 until 0.13.7, hostnameRegexHandler.OnUpdate in internal/webhook/tenant/validation/hostname_regex.go reverses the new and old Tenant parameters and validates the previous AllowedHostnames.Regex instead of the submitted value. A cluster administrator can therefore store a malformed AllowedHostnames.Regex after the webhook accepts the update based on stale valid state. Subsequent Ingress creation or update reaches validate_hostnames.go, which evaluates the malformed pattern, ignores the regular-expression error, and treats every hostname as unmatched, blocking Ingress operations for the affected tenant until an administrator repairs the Tenant configuration. This issue is fixed in version 0.13.7.","state":0,"publishedAt":"2026-09-18T16:31:42.182+00:00","modifiedAt":"2026-09-21T20:49:59.055+00:00","affected":[{"ecosystem":"Vendor product","name":"capsule","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"projectcapsule\",\n                    \"product\": \"capsule\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 0.13.0, < 0.13.7\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H","score":6.8,"severity":"MEDIUM"}],"references":["https://github.com/projectcapsule/capsule/security/advisories/GHSA-f94q-w3w8-cj67","https://github.com/projectcapsule/capsule/pull/1983","https://github.com/projectcapsule/capsule/commit/8d89d6865df6f41c7faa22fc9e807a57b01bfd0e","https://github.com/projectcapsule/capsule/releases/tag/v0.13.7"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-61795","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-61795","identifiers":["CVE-2026-61795"]},"retained":false,"historicalAffected":[]}],"coverage":[]}