CVE-2026-61795

Source
https://cve.org/CVERecord?id=CVE-2026-61795
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-61795.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-61795
Aliases
Published
2026-09-18T16:31:42Z
Modified
2026-09-19T03:47:21Z
Severity
  • 6.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H CVSS Calculator
Summary
Capsule: hostnameRegexHandler.OnUpdate validates stale (old) Tenant regex, allowing invalid AllowedHostnames regex to bypass webhook validation
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-697"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61795.json"
}
References

Affected packages

Git / github.com/projectcapsule/capsule

Affected ranges

Type
GIT
Repo
https://github.com/projectcapsule/capsule
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0.13.0"
        },
        {
            "fixed": "0.13.7"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

v0.*
v0.13.0
v0.13.1
v0.13.2
v0.13.3
v0.13.4
v0.13.5
v0.13.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-61795.json"