{"id":"CVE-2026-61795","published":"2026-09-18T16:31:42Z","modified":"2026-09-21T20:49:59Z","title":"Capsule: hostnameRegexHandler.OnUpdate validates stale (old) Tenant regex, allowing invalid AllowedHostnames regex to…","vendor":"projectcapsule","product":"capsule","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00587,"percentile":0.49002,"provenance":"source"},"cwes":[{"id":"CWE-697","name":"Incorrect Comparison"}],"references":[{"url":"https://github.com/projectcapsule/capsule/security/advisories/GHSA-f94q-w3w8-cj67","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/projectcapsule/capsule/pull/1983","tags":["x_refsource_MISC"]},{"url":"https://github.com/projectcapsule/capsule/commit/8d89d6865df6f41c7faa22fc9e807a57b01bfd0e","tags":["x_refsource_MISC"]},{"url":"https://github.com/projectcapsule/capsule/releases/tag/v0.13.7","tags":["x_refsource_MISC"]}],"priority":{"score":14.6,"factors":[{"name":"EPSS percentile","points":9.8},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"projectcapsule","affectedVersions":[{"vendor":"projectcapsule","product":"capsule","versions":[">= 0.13.0, < 0.13.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-18T19:30:32.778857Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/projectcapsule/capsule","vulnerableRanges":[">=0.13.0, <0.13.7"],"patched":["0.13.7"],"from":["GHSA-f94q-w3w8-cj67","GO-2026-6519"],"provenance":"source"}],"summary":{"text":"The flaw lies in the Capsule Kubernetes multi-tenancy framework (versions 0.13.0 through 0.13.7), in the hostname regex validation webhook: hostnameRegexHandler.OnUpdate reverses the new and old Tenant parameters, so it validates the previous AllowedHostnames regex rather than the submitted one. An attacker with a privileged cluster administrator role can store a malformed AllowedHostnames regex, which is then accepted and causes subsequent Ingress creation or update operations for the affected tenant to be blocked until the Tenant configuration is repaired.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:20Z"},"euvd":{"id":"EUVD-2026-83166","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-55636","published":"2026-09-15","fixed":"0.13.6","kev":false,"link":{"from":"CVE-2026-55636","to":"CVE-2026-61795","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/projectcapsule/capsule","fromFixed":"0.13.6","toFixed":"0.13.7","daysApart":3}]}},{"cve":"CVE-2026-61672","published":"2026-09-18","fixed":"0.13.7","kev":false},{"cve":"CVE-2026-61794","published":"2026-09-18","fixed":"0.13.7","kev":false},{"cve":"CVE-2026-61795","published":"2026-09-18","fixed":"0.13.7","kev":false},{"cve":"CVE-2026-65834","published":"2026-07-30","fixed":"0.13.8","kev":false},{"cve":"CVE-2026-65835","published":"2026-07-30","fixed":"0.13.8","kev":false}],"package":"Go:github.com/projectcapsule/capsule"}}