High severityNVD Advisory· Published Feb 24, 2026· Updated Feb 27, 2026
Caddy: MatchPath %xx (escaped-path) branch skips case normalization, enabling path-based route/auth bypass
CVE-2026-27587
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/caddyserver/caddy/v2Go | < 2.11.1 | 2.11.1 |
Affected products
3- ghsa-coords2 versionspkg:golang/github.com/caddyserver/caddy/v2pkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6
< 2.11.1+ 1 more
- (no CPE)range: < 2.11.1
- (no CPE)range: < 0.0.20260226T182644-150000.1.149.1
- Range: < 2.11.1
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-g7pc-pc7g-h8jhghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-27587ghsaADVISORY
- github.com/caddyserver/caddy/commit/a1081194bfae4e0d8c227ec44aecb95eded55d1eghsaWEB
- github.com/caddyserver/caddy/releases/tag/v2.11.1ghsax_refsource_MISCWEB
- github.com/caddyserver/caddy/security/advisories/GHSA-g7pc-pc7g-h8jhghsax_refsource_CONFIRMWEB
- pkg.go.dev/vuln/GO-2026-4538ghsaWEB
News mentions
0No linked articles in our index yet.