CVE-2026-27588
published high CVSS 4.0 · 7.7Caddy: MatchHost becomes case-sensitive for large host lists (>100), enabling host-based route/auth bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| caddyserver | — | caddy< 2.11.1 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | caddy | Fixed | 2.11.1-r0 | Package fix record |
| Debian | bookworm | caddy | Advisory build | 2.6.2-5+deb12u1 | DLA-4857-1 |
| Alpine Linux | v3.23 | caddy | Fixed | 2.11.2-r0 | Package fix record |
| Alpine Linux | v3.24 | caddy | Fixed | 2.11.1-r0 | Package fix record |
| Debian | trixie | caddy | Advisory build | 2.6.2-12+deb13u1 | DSA-6429-1 |
Description
Caddy is an extensible server platform that uses TLS by default. Prior to version 2.11.1, Caddy's HTTP `host` request matcher is documented as case-insensitive, but when configured with a large host list (>100 entries) it becomes case-sensitive due to an optimized matching path. An attacker can bypass host-based routing and any access controls attached to that route by changing the casing of the `Host` header. Version 2.11.1 contains a fix for the issue.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| caddyserver | caddy | < 2.11.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-178 CWE-178: Improper Handling of Case Sensitivity
References
2Provider assertions
2GitHub_M · cna
Caddy: MatchHost becomes case-sensitive for large host lists (>100), enabling host-based route/auth bypass
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d21d072e34b4093524581e60df51db2405b7bb78b17a1d5d3bc670f019c854a2
- Ingested
- 23 Sep 2026, 09:07:41 UTC
- Source record
- Official CVE record