# CVE-2026-27587: Caddy: MatchPath %xx (escaped-path) branch skips case normalization, enabling path-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:26:40.222Z
- Modified: 2026-06-17T10:27:21.000Z
- Also known as: GHSA-g7pc-pc7g-h8jh, GO-2026-4538
- 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 `path` request matcher is intended to be case-insensitive, but when the match pattern contains percent-escape sequences (`%xx`) it compares against the request's escaped path without lowercasing. An attacker can bypass path-based routing and any access controls attached to that route by changing the casing of the request path. 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-g7pc-pc7g-h8jh> (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-27587> (advisory)
- <https://github.com/caddyserver/caddy/commit/a1081194bfae4e0d8c227ec44aecb95eded55d1e> (fix, web)
- <https://github.com/caddyserver/caddy> (package)
- <https://pkg.go.dev/vuln/GO-2026-4538> (web)

## Sources

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

---

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