CVE-2026-27585: Caddy's improper sanitization of glob characters in file matcher may lead to bypassing security protections
Vulnerability summary
CVE-2026-27585 is a medium (CVSS 6.9) Improper Input Validation vulnerability in caddyserver caddy. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 32% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 3Timeline
- 24-02-2026PublishedVulnerability first disclosed.
- 26-02-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
8 scores · 6 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.2HighCVSS: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:PDiffers
- OSV · GoEcosystem advisory · calculated8.2HighCVSS: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:PDiffers
- NVDNIST6.9MediumCVSS: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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- OSV · AlpineEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.36%
Chance of exploitation in the next 30 days
Percentile
32%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 0.37% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundCaddy
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- caddy< 2.11.2-r0 | < 2.11.1-r0
Caddyserver1 product
- caddy< 2.11.1
Debian1 product
- caddyAll versions (No fix recorded) | < 2.6.2-5+deb12u1 | < 2.6.2-12+deb13u1 | < 2.11.2-1
Github.com/caddyserver/caddy1 product
- v2< 2.11.1
Ubuntu1 product
- caddyAll versions (No fix recorded) | < 2.6.2-6ubuntu0.24.04.3+esm3 | < 2.6.2-14ubuntu0.26.04.1~esm2
5 vendors · 5 products
References
13 links- github.com/caddyserver/caddy/security/advisories/GHSA-4xrr-hq4w-6vf4X Refsource CONFIRMREPORTWEBAdvisoryExploitVendor Advisory
- github.com/caddyserver/caddyPACKAGE