{"id":"UBUNTU-CVE-2026-27585","details":"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.","modified":"2026-07-02T18:02:38.357889547Z","published":"2026-02-24T17:29:00Z","upstream":["CVE-2026-27585"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-27585"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-27585"},{"type":"REPORT","url":"https://github.com/caddyserver/caddy/security/advisories/GHSA-4xrr-hq4w-6vf4"},{"type":"REPORT","url":"https://github.com/caddyserver/caddy/blob/68d50020eef0d4c3398b878f17c8092ca5b58ca0/modules/caddyhttp/fileserver/matcher.go#L361"},{"type":"REPORT","url":"https://github.com/caddyserver/caddy/blob/68d50020eef0d4c3398b878f17c8092ca5b58ca0/modules/caddyhttp/fileserver/matcher.go#L398"},{"type":"REPORT","url":"https://github.com/caddyserver/caddy/releases/tag/v2.11.1"}],"affected":[{"package":{"name":"caddy","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/caddy?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.2-6","2.6.2-6ubuntu0.24.04.1","2.6.2-6ubuntu0.24.04.2","2.6.2-6ubuntu0.24.04.2+esm1","2.6.2-6ubuntu0.24.04.3","2.6.2-6ubuntu0.24.04.3+esm1","2.6.2-6ubuntu0.24.04.3+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"caddy","binary_version":"2.6.2-6ubuntu0.24.04.3+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27585.json"}},{"package":{"name":"caddy","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/caddy?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.2-9","2.6.2-11","2.6.2-12"],"ecosystem_specific":{"binaries":[{"binary_name":"caddy","binary_version":"2.6.2-12"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27585.json"}},{"package":{"name":"caddy","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/caddy?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.2-12","2.6.2-14","2.6.2-14ubuntu0.26.04.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"caddy","binary_version":"2.6.2-14ubuntu0.26.04.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27585.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}