cve.bz

CVE-2026-61795 projectcapsule capsule: Incorrect Comparison

6.8 mediumEPSS 0.6%Fix available

Medium (6.8) in projectcapsule capsule. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/projectcapsule/capsule 0.13.7.

On this page
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.

Severity

CVSS 3.1

6.8 medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-09-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-697 Incorrect Comparison
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • github.com/projectcapsule/capsule (Go): fixed in 0.13.7

Ask an AI about this CVE

Show the promptExplain CVE-2026-61795 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-61795?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-61795?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-61795 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
projectcapsule capsule>= 0.13.0, < 0.13.7

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-f94q-w3w8-cj67Gogithub.com/projectcapsule/capsule>=0.13.0 <0.13.70.13.7
GO-2026-6519Gogithub.com/projectcapsule/capsule>=0.13.0 <0.13.70.13.7

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-697 (29).

References

Check your stackJSON