CVE-2026-52844 · GitHub_M
Caddy: Windows `file_server` path authorization bypass via encoded backslash
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.
Published 2026-06-23, last changed 2026-10-25. Weakness: CWE-22, CWE-284.
How to fix
Upgrade to a fixed version: github.com/caddyserver/caddy/v2 2.11.4 (Go). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in caddyserver/caddy by e2eee6a7fc. Functions changed by the fix: funcStripHTML. Regression tests: modules/caddyhttp/templates/tplcontext_test.go. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2026-06-16 | Package advisory GHSA-qrp7-cvwr-j2c6 |
| 2026-06-23 | Published |
| 2026-07-24 | Package advisory GO-2026-5595 |
| 2026-10-25 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 0.62% |
| 2026-12-05 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-qrp7-cvwr-j2c6 | github.com/caddyserver/caddy/v2 (Go) | 2.11.4 |
| GHSA-qrp7-cvwr-j2c6 | github.com/caddyserver/caddy (Go) | no fix yet |
| GO-2026-5595 | github.com/caddyserver/caddy/v2 (Go) | 2.11.4 |
Also known as: GHSA-qrp7-cvwr-j2c6, GO-2026-5595
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-55458 | 2026-11-05 | 2.9 | Caddy: RFC 7230 §6.1 compliance issue / Hop-by-hop headers that leak through |
| CVE-2026-92700 | 2026-09-23 | 6.3 | Caddy: fileHidden() case-sensitive pattern bypass — exposes "hidden" files via case variation |
| CVE-2026-92284 | 2026-09-23 | 6.9 | Caddy: Unbounded body buffer via {http.request.body} placeholder — memory exhaustion DoS |
| CVE-2026-77281 | 2026-09-17 | 6.5 | Caddy: rewrite placeholder re-expansion |
| CVE-2026-52846 | 2026-06-23 | 4.2 | Caddy: stripHTML template function bypass |
| CVE-2026-52845 | 2026-06-23 | 8.1 | Caddy: FastCGI header normalization bypass in `forward_auth copy_headers` |
| CVE-2026-45692 | 2026-06-23 | 3.8 | Caddy: Remote Admin Authorization Bypass in `/config` API via Array Index Normalization |
| CVE-2026-45135 | 2026-06-23 | 8.1 | Caddy: Unsafe Unicode Handling in FastCGI splitPos Allows Execution of Non-PHP Files |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2026-52844, or call /api/v1/vulnerabilities/CVE-2026-52844. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.