Unauthenticated route bypass via escaped-path case mismatch
Published Feb 24, 2026 · Updated Feb 24, 2026
Improper case handling in Caddy before 2.11.1 allows remote attackers to bypass path-based routing via mixed-case escaped paths. MatchPath.MatchWithError lowercases the ordinary request path but passes r.URL.EscapedPath() through CleanPath without lowercasing when a configured pattern contains %xx. Exploitation requires such a path matcher and a downstream route that accepts the differently cased path, causing the protected request to reach an unauthorized handler.
Summary
What happened
Improper case handling in Caddy before 2.11.1 allows remote attackers to bypass path-based routing via mixed-case escaped paths. MatchPath.MatchWithError lowercases the ordinary request path but passes r.URL.EscapedPath() through CleanPath without lowercasing when a configured pattern contains %xx. Exploitation requires such a path matcher and a downstream route that accepts the differently cased path, causing the protected request to reach an unauthorized handler.
The record
- CVE
- CVE-2026-27587
- Published
- Feb 24, 2026
- Updated
- Feb 24, 2026
- Vendor
- Caddy
- Product
- Caddy
- Classifications
- CWE-178, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 24, 2026CVE publishedPublication date reported by the CVE source.
- Feb 24, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 2.11.1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-g7pc-pc7g-h8jh path-matcher bypass PoCfunctional · validated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo