# CVE-2026-27587: Caddy: MatchPath %xx (escaped-path) branch skips case normalization, enabling path-based route/auth bypass

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 2.11.1 (CNA); fix release not confirmed
- Status: published
- Published: 2026-02-24 · Modified: 2026-02-27
- Aliases: UBUNTU-CVE-2026-27587, DEBIAN-CVE-2026-27587, GHSA-g7pc-pc7g-h8jh, GO-2026-4538, ALPINE-CVE-2026-27587
- Record: https://cvemate.com/vulnerability/CVE-2026-27587 · JSON: https://cvemate.com/vulnerability/CVE-2026-27587/json

## Description

```text
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.
```

## Signals

- CVSS: 9.1 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.434%, percentile 39.51%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine caddy (Alpine Linux): ≥ 2.10.2, \< 2.11.2-r0 \| ≥ 2.10.2, \< 2.11.1-r0
- caddyserver caddy: \< 2.11.1 \| ≥ 2.10.2, \< 2.11.1
- debian caddy (Debian): All versions (No fix recorded) \| \< 2.6.2-5+deb12u1 \| \< 2.6.2-12+deb13u1 \| \< 2.11.2-1
- ubuntu caddy (Ubuntu): All versions (No fix recorded) \| \< 2.6.2-6ubuntu0.24.04.3+esm3 \| \< 2.6.2-14ubuntu0.26.04.1~esm2
- github.com/caddyserver/caddy v2 (Go): \< 2.11.1

## References

- <https://github.com/caddyserver/caddy/security/advisories/GHSA-g7pc-pc7g-h8jh>
- <https://github.com/caddyserver/caddy/releases/tag/v2.11.1>
- <https://ubuntu.com/security/CVE-2026-27587>
- <https://www.cve.org/CVERecord?id=CVE-2026-27587>
- <https://security-tracker.debian.org/tracker/CVE-2026-27587>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27587>
- <https://github.com/caddyserver/caddy/commit/a1081194bfae4e0d8c227ec44aecb95eded55d1e>
- <https://github.com/caddyserver/caddy>
- <https://pkg.go.dev/vuln/GO-2026-4538>
- <https://security.alpinelinux.org/vuln/CVE-2026-27587>
- <https://ubuntu.com/security/notices/USN-9260-1>

---

Data as of 2026-12-05T09:45:28.854Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
