# CVE-2026-27585: Caddy's improper sanitization of glob characters in file matcher may lead to bypassing security protections

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-02-24 · Modified: 2026-02-26
- Aliases: UBUNTU-CVE-2026-27585, DEBIAN-CVE-2026-27585, GHSA-4xrr-hq4w-6vf4, GO-2026-4535, ALPINE-CVE-2026-27585
- Record: https://cvemate.com/vulnerability/CVE-2026-27585 · JSON: https://cvemate.com/vulnerability/CVE-2026-27585/json

## 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.
```

## Signals

- CVSS: 6.9 medium (v4.0, CVE.org) 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
- EPSS: 0.362%, percentile 32.036%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine caddy (Alpine Linux): \< 2.11.2-r0 \| \< 2.11.1-r0
- caddyserver caddy: \< 2.11.1
- debian caddy (Debian): All versions (No fix recorded) \| \< 2.6.2-5+deb12u1 \| \< 2.6.2-12+deb13u1 \| \< 2.11.2-1
- ubuntu caddy (Ubuntu): All versions (No fix recorded) \| \< 2.6.2-6ubuntu0.24.04.3+esm3 \| \< 2.6.2-14ubuntu0.26.04.1~esm2
- github.com/caddyserver/caddy v2 (Go): \< 2.11.1

## References

- <https://github.com/caddyserver/caddy/security/advisories/GHSA-4xrr-hq4w-6vf4>
- <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://ubuntu.com/security/CVE-2026-27585>
- <https://www.cve.org/CVERecord?id=CVE-2026-27585>
- <https://security-tracker.debian.org/tracker/CVE-2026-27585>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27585>
- <https://caddyserver.com/docs/caddyfile/directives#directive-order>
- <https://github.com/caddyserver/caddy>
- <https://pkg.go.dev/vuln/GO-2026-4535>
- <https://security.alpinelinux.org/vuln/CVE-2026-27585>
- <https://ubuntu.com/security/notices/USN-9260-1>

---

Data as of 2026-12-05T09:45:35.988Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
