# CVE-2026-27588: Caddy: MatchHost becomes case-sensitive for large host lists (>100), enabling host-based route/auth bypass

- Severity: High 7.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-24T16:28:28.106Z
- Modified: 2026-06-17T10:27:21.117Z
- Also known as: GHSA-x76f-jf84-rqj8, GO-2026-4541
- Weaknesses: CWE-178
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- caddyserver caddy: < 2.11.1; from 2.10.2 before 2.11.1
- github.com/caddyserver/caddy/v2 (Go): before 2.11.1

## Every score

- GitHub_M: CVSS:4.0 7.7 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/caddyserver/caddy/security/advisories/GHSA-x76f-jf84-rqj8> (exploit, advisory, vendor-advisory, web)
- <https://github.com/caddyserver/caddy/releases/tag/v2.11.1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27588> (advisory)
- <https://github.com/caddyserver/caddy/commit/eec32a0bb5a11651c6a7b04ce82dc50610f2b27e> (fix, web)
- <https://github.com/caddyserver/caddy> (package)
- <https://pkg.go.dev/vuln/GO-2026-4541> (web)

## Sources

- CVE List: [CVE-2026-27588](https://www.cve.org/CVERecord?id=CVE-2026-27588), CVE Terms of Use, modified 2026-02-27
- GitHub Advisory Database: [GHSA-x76f-jf84-rqj8](https://github.com/advisories/GHSA-x76f-jf84-rqj8), CC-BY-4.0, modified 2026-02-27
- Go Vulnerability Database: [GO-2026-4541](https://pkg.go.dev/vuln/GO-2026-4541), CC-BY-4.0, modified 2026-02-26
- NVD: [CVE-2026-27588](https://nvd.nist.gov/vuln/detail/CVE-2026-27588), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-27588 · Whole record: https://cve.day/CVE-2026-27588.json · Rebuilt by cve.day 2026-11-25T22:59:14.773Z
