PT-2026-21772 · Caddy · Caddy
Manizada
·
Published
2026-01-01
·
Updated
2026-03-03
·
CVE-2026-27587
CVSS v3.1
9.1
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
Caddy versions prior to 2.11.1
Description
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. This can allow an attacker to bypass path-based routing and any access controls attached to that route by changing the casing of the request path. The issue occurs because r.URL.EscapedPath() is not lowercased, leading to case differences in the request path causing the escaped-space match to fail even though MatchPath is meant to be case-insensitive. An attacker can bypass route restrictions by changing the casing of the request path.Recommendations
Update to Caddy version 2.11.1 or later.
Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Caddy