{"id":"CVE-2026-27587","state":"PUBLISHED","title":"Caddy: MatchPath %xx (escaped-path) branch skips case normalization, enabling path-based route/auth bypass","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.","publishedAt":"2026-02-24T16:26:40.222Z","updatedAt":"2026-02-27T20:48:09.775Z","severity":{"score":7.7,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P","source":"GitHub_M"},"assigner":"GitHub_M","products":["caddyserver caddy"],"affected":[{"vendor":"caddyserver","product":"caddy","versions":[{"version":"< 2.11.1","status":"affected"}]}],"references":["https://github.com/caddyserver/caddy/security/advisories/GHSA-g7pc-pc7g-h8jh","https://github.com/caddyserver/caddy/releases/tag/v2.11.1"],"weaknesses":["CWE-178"],"ingestedAt":"2026-10-29T20:11:31.369Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/27xxx/CVE-2026-27587.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-27587","state":"PUBLISHED","datePublished":"2026-02-24T16:26:40.222Z","dateUpdated":"2026-02-27T20:48:09.775Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-02-20T17:40:28.450Z"},"containers":{"cna":{"title":"Caddy: MatchPath %xx (escaped-path) branch skips case normalization, enabling path-based route/auth bypass","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"caddyserver","product":"caddy","versions":[{"version":"< 2.11.1","status":"affected"}]}],"references":[{"url":"https://github.com/caddyserver/caddy/security/advisories/GHSA-g7pc-pc7g-h8jh","name":"https://github.com/caddyserver/caddy/security/advisories/GHSA-g7pc-pc7g-h8jh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/caddyserver/caddy/releases/tag/v2.11.1","name":"https://github.com/caddyserver/caddy/releases/tag/v2.11.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-178","lang":"en","description":"CWE-178: Improper Handling of Case Sensitivity","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-02-24T16:26:40.222Z"},"source":{"advisory":"GHSA-g7pc-pc7g-h8jh","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-27T20:47:59.330355Z","id":"CVE-2026-27587","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-27T20:48:09.775Z"}}]}}}