CVE-2026-27587: Caddy Escaped-Path Case Normalization Access-Control Bypass
- Vendor
- Caddyserver
Caddy versions before 2.11.1 contain a case-normalization flaw in the HTTP path request matcher, MatchPath. Although path matching is intended to be case-insensitive, patterns containing percent-escape sequences (%xx) cause comparisons against the escaped request path without lowercasing it. An attacker can change request-path casing to evade matching, bypassing path-based routing and access controls attached to the affected route.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Attackers can bypass route selection and associated access controls when security-sensitive path matchers contain percent-escape sequences. This can permit unauthorized access to protected endpoints if alternate routing and backend path handling still make those endpoints accessible. The precise impact depends on the deployment's routing, authorization, and backend normalization behavior.
Mitigation
If you can’t patch tonight, do this now.
Until patched, avoid relying on path matchers containing percent-escape sequences as the sole enforcement point for access controls. Enforce authorization independently in the upstream application or service. Where appropriate, add independent match conditions that do not rely on escaped-path comparisons, or apply consistent case and percent-encoding normalization before authorization through an upstream gateway or WAF.
Remediation
Patch, then assume compromise.
Upgrade Caddy to version 2.11.1 or later, which corrects case normalization during escaped-path matching. For distribution-managed installations, install the vendor's fixed package, including Debian trixie version 2.6.2-12+deb13u1 or later, or Alpine Linux version 2.11.1-r0 or later.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-27587 exploited in the wild?
- As of Dec 2, 2026, Mallory has no reports of CVE-2026-27587 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-27587?
- Yes. As of Dec 2, 2026, Mallory has reports of a public exploit for CVE-2026-27587.
- Is there a patch for CVE-2026-27587?
- Upgrade Caddy to version 2.11.1 or later, which corrects case normalization during escaped-path matching. For distribution-managed installations, install the vendor's fixed package, including Debian trixie version 2.6.2-12+deb13u1 or later, or Alpine Linux version 2.11.1-r0 or later.
- What products are affected by CVE-2026-27587?
- Caddyserver Caddy.
- How severe is CVE-2026-27587?
- CVE-2026-27587 has a CVSS v4 score of 7.7 (High) and an EPSS score of 0.43% (40th percentile) as of Dec 2, 2026.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.