7.7High

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

caddyserver caddy Published: (8 months ago)

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.

Weakness (CWE): CWE-178

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
caddyserver caddy < 2.11.1

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:caddyserver:caddy:*:*:*:*:*:*:*:* ≥ 2.10.2 < 2.11.1