{"id":"CVE-2026-27585","published":"2026-02-24T16:06:05Z","modified":"2026-02-26T21:17:36Z","title":"Caddy's improper sanitization of glob characters in file matcher may lead to bypassing security protections","vendor":"caddyserver","product":"caddy","tier":"tail","description":{"text":"Caddy is an extensible server platform that uses TLS by default. Prior to version 2.11.1, the path sanitization routine in file matcher doesn't sanitize backslashes which can lead to bypassing path related security protections. It affects users with specific Caddy and environment configurations. Version 2.11.1 fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00486,"percentile":0.34544,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/caddyserver/caddy/security/advisories/GHSA-4xrr-hq4w-6vf4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/caddyserver/caddy/blob/68d50020eef0d4c3398b878f17c8092ca5b58ca0/modules/caddyhttp/fileserver/matcher.go#L361","tags":["x_refsource_MISC"]},{"url":"https://github.com/caddyserver/caddy/blob/68d50020eef0d4c3398b878f17c8092ca5b58ca0/modules/caddyhttp/fileserver/matcher.go#L398","tags":["x_refsource_MISC"]},{"url":"https://github.com/caddyserver/caddy/releases/tag/v2.11.1","tags":["x_refsource_MISC"]}],"priority":{"score":11.7,"factors":[{"name":"EPSS percentile","points":6.91},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"caddyserver","affectedVersions":[{"vendor":"caddyserver","product":"caddy","versions":["< 2.11.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-26T20:58:09.807973Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/caddyserver/caddy/v2","vulnerableRanges":["<2.11.1"],"patched":["2.11.1"],"from":["GHSA-4xrr-hq4w-6vf4","GO-2026-4535"],"provenance":"source"}],"summary":{"text":"The flaw is in the path sanitization routine of Caddy's file matcher, which fails to sanitize backslashes and so can bypass path-related security protections. An unauthenticated remote attacker over the network can exploit it with low complexity and no user interaction, though it only affects users with specific Caddy and environment configurations, and the impact is limited to integrity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:57:11Z"},"euvd":{"id":"EUVD-2026-8539","exploited":false,"provenance":"source"}}