CVE-2026-27585
published medium CVSS 4.0 · 6.9Caddy's improper sanitization of glob characters in file matcher may lead to bypassing security protections
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| caddyserver | — | caddy< 2.11.1 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | caddy | Fixed | 2.11.1-r0 | Package fix record |
| Debian | bookworm | caddy | Advisory build | 2.6.2-5+deb12u1 | DLA-4857-1 |
| Alpine Linux | v3.23 | caddy | Fixed | 2.11.2-r0 | Package fix record |
| Alpine Linux | v3.24 | caddy | Fixed | 2.11.1-r0 | Package fix record |
| Debian | trixie | caddy | Advisory build | 2.6.2-12+deb13u1 | DSA-6429-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| caddyserver | caddy | < 2.11.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-20 CWE-20: Improper Input Validation
References
4- https://github.com/caddyserver/caddy/blob/68d50020eef0d4c3398b878f17c8092ca5b58ca0/modules/caddyhttp/fileserver/matcher.go#L361
- https://github.com/caddyserver/caddy/blob/68d50020eef0d4c3398b878f17c8092ca5b58ca0/modules/caddyhttp/fileserver/matcher.go#L398
- https://github.com/caddyserver/caddy/releases/tag/v2.11.1
- https://github.com/caddyserver/caddy/security/advisories/GHSA-4xrr-hq4w-6vf4
Provider assertions
2GitHub_M · cna
Caddy's improper sanitization of glob characters in file matcher may lead to bypassing security protections
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c70c73a8b2f73b8193e9ce9df38f1d4727b208604139a17fbfbd2bb540bde70c
- Ingested
- 23 Sep 2026, 09:07:41 UTC
- Source record
- Official CVE record