CVE-2026-27585: Caddy is an extensible server platform that uses TLS by default.
Medium CVSS 6.5
- CVE id
- CVE-2026-27585
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Caddy Runtimes and servers |
< 2.11.1 | 2.11.1 |
How to fix it
Upgrade Caddy to 2.11.1 or later.
caddy version
- Upgrade Caddy (the caddy image tag or binary) to the patched release.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
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.
References
- CVE-2026-27585 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-27585
- Web: https://github.com/caddyserver/caddy/blob/68d50020eef0d4c3398b878f17c8092ca5b58ca0/modules/caddyhttp/fileserver/matcher.go#L361
- Web: https://github.com/caddyserver/caddy/blob/68d50020eef0d4c3398b878f17c8092ca5b58ca0/modules/caddyhttp/fileserver/matcher.go#L398
- Web: https://github.com/caddyserver/caddy/releases/tag/v2.11.1
- Web: https://github.com/caddyserver/caddy/security/advisories/GHSA-4xrr-hq4w-6vf4
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.