CVE-2026-27588: Host-based access-control bypass in Caddy MatchHost
- Vendor
- Caddyserver
Caddy versions before 2.11.1 contain an improper case-sensitivity vulnerability in the HTTP host request matcher, MatchHost. When configured with more than 100 host entries, the matcher uses an optimized matching path that performs case-sensitive comparisons instead of the documented case-insensitive comparisons. An attacker can change the casing of the HTTP Host header to evade an intended route match, potentially bypassing host-based routing and access controls attached to that route.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Affected configurations may permit unauthorized access to sensitive endpoints or backend applications when changing Host-header casing avoids a protected route and selects a less restrictive route. The impact depends on route ordering, fallback behavior, and whether authorization is enforced independently of host matching.
Mitigation
If you can’t patch tonight, do this now.
Until patched, avoid using host matchers with more than 100 entries as security boundaries. Reduce each matcher to at most 100 entries, splitting lists while preserving routing and authorization semantics. Alternatively, enforce Host-header normalization or reject noncanonical casing at a trusted upstream proxy before requests reach Caddy. Enforce authorization independently in backend applications and ensure unmatched hosts cannot reach less restrictive routes.
Remediation
Patch, then assume compromise.
Upgrade Caddy to version 2.11.1 or later, or install a distribution package containing the fix. Fixed distribution packages include Alpine Linux version 2.11.1-r0 or later and Debian trixie version 2.6.2-12+deb13u1. For Ubuntu, install the updated caddy package supplied through the applicable security update.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-27588 exploited in the wild?
- As of Dec 2, 2026, Mallory has no reports of CVE-2026-27588 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-27588?
- Yes. As of Dec 2, 2026, Mallory has reports of a public exploit for CVE-2026-27588.
- Is there a patch for CVE-2026-27588?
- Upgrade Caddy to version 2.11.1 or later, or install a distribution package containing the fix. Fixed distribution packages include Alpine Linux version 2.11.1-r0 or later and Debian trixie version 2.6.2-12+deb13u1.
- What products are affected by CVE-2026-27588?
- Caddyserver Caddy.
- How severe is CVE-2026-27588?
- CVE-2026-27588 has a CVSS v4 score of 7.7 (High) and an EPSS score of 0.43% (40th percentile) as of Dec 2, 2026.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.