{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-61795","id":"CVE-2026-61795","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 webh","descriptionLong":"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.","published":"2026-09-18T16:31:42.182Z","updated":"2026-10-28T02:30:32.446493834Z","reserved":"2026-07-10T20:06:05.617Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H","rating":"medium","source":"github.com"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H","rating":"medium","source":"GitHub"}],"rating":"medium","products":["projectcapsule capsule"],"affectedProducts":[{"vendor":"projectcapsule","product":"capsule","defaultStatus":null,"versions":[{"version":">= 0.13.0, < 0.13.7","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/projectcapsule/capsule","purl":"pkg:golang/github.com/projectcapsule/capsule","ranges":[">=0.13.0 <0.13.7"],"fixed":["0.13.7"],"advisory":"GHSA-f94q-w3w8-cj67"}],"cwes":["CWE-697"],"aliases":["GHSA-f94q-w3w8-cj67","GO-2026-6519"],"references":[{"url":"https://github.com/projectcapsule/capsule/security/advisories/GHSA-f94q-w3w8-cj67","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/projectcapsule/capsule/pull/1983","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/projectcapsule/capsule/commit/8d89d6865df6f41c7faa22fc9e807a57b01bfd0e","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/projectcapsule/capsule/releases/tag/v0.13.7","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61795.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61795","tags":["advisory"]},{"url":"https://github.com/projectcapsule/capsule","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00587,"epssPercentile":0.48872,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-61795","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61795","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-61795","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-f94q-w3w8-cj67","ok":true,"note":"GHSA-f94q-w3w8-cj67"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-61795","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}