CVE-2026-27585
MEDIUM 6.9CVSS 4.0Caddy: Improper sanitization of glob characters in file matcher may lead to bypassing security protections
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.
- Published
- 24 Feb 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-20
- Also known as
- GHSA-4xrr-hq4w-6vf4GO-2026-4535
- Sources
- NVDJSONOSV GHSA-4xrr-hq4w-6vf4JSONOSV GO-2026-4535JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | 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/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 | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | caddyserver | caddycpe:2.3:a:caddyserver:caddy:*:*:*:*:*:*:*:* |
< 2.11.1 | 2.11.1 |
| OSV | Go | github.com/caddyserver/caddy/v2 | < 2.11.1 | 2.11.1 |
References
- https://github.com/caddyserver/caddy/blob/68d50020eef0d4c3398b878f17c8092ca5b58ca0/modules/caddyhttp/fileserver/matcher.go#L361 · Product, WEB
- https://github.com/caddyserver/caddy/blob/68d50020eef0d4c3398b878f17c8092ca5b58ca0/modules/caddyhttp/fileserver/matcher.go#L398 · Product, WEB
- https://github.com/caddyserver/caddy/releases/tag/v2.11.1 · Release Notes, WEB
- https://github.com/caddyserver/caddy/security/advisories/GHSA-4xrr-hq4w-6vf4 · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-27585 · ADVISORY
- https://caddyserver.com/docs/caddyfile/directives#directive-order · WEB
- https://github.com/caddyserver/caddy · PACKAGE
- https://pkg.go.dev/vuln/GO-2026-4535 · WEB
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 24 Feb 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Feb 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Feb 2026)