Description
Caddy is an extensible server platform that uses TLS by default. Prior to 2.11.4, on Windows, Caddy path matchers treat /private\secret.txt as outside /private/*, but file_server later resolves the same request path as private\secret.txt on disk. An unauthenticated remote client can bypass Caddy path-scoped auth/deny routes protecting /private/*. This vulnerability is fixed in 2.11.4.
Severity (CVSS)
| Base score | 7.5 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Provided by | CNA |
Weaknesses
- CWE-22 — CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-284 — CWE-284: Improper Access Control
Affected products
| Vendor | Product | Versions |
|---|---|---|
| caddyserver | caddy | < 2.11.4 |
References
- https://github.com/caddyserver/caddy/security/advisories/GHSA-qrp7-cvwr-j2c6 (x_refsource_CONFIRM)
Generated from the official CVE List on 24 Jun 2026 09:35 UTC.