KeygraphLabs · CVE MCP

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.

CVSS
7.5
high, from the CNA
EPSS
0.48%
percentile 42.9%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

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-16Package advisory GHSA-qrp7-cvwr-j2c6
2026-06-23Published
2026-07-24Package advisory GO-2026-5595
2026-10-25Record last changed
2026-11-30EPSS when our history starts: 0.62%
2026-12-05Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-qrp7-cvwr-j2c6github.com/caddyserver/caddy/v2 (Go)2.11.4
GHSA-qrp7-cvwr-j2c6github.com/caddyserver/caddy (Go)no fix yet
GO-2026-5595github.com/caddyserver/caddy/v2 (Go)2.11.4

Also known as: GHSA-qrp7-cvwr-j2c6, GO-2026-5595

Related

CVEPublishedCVSSSummary
CVE-2026-554582026-11-052.9Caddy: RFC 7230 §6.1 compliance issue / Hop-by-hop headers that leak through
CVE-2026-927002026-09-236.3Caddy: fileHidden() case-sensitive pattern bypass — exposes "hidden" files via case variation
CVE-2026-922842026-09-236.9Caddy: Unbounded body buffer via {http.request.body} placeholder — memory exhaustion DoS
CVE-2026-772812026-09-176.5Caddy: rewrite placeholder re-expansion
CVE-2026-528462026-06-234.2Caddy: stripHTML template function bypass
CVE-2026-528452026-06-238.1Caddy: FastCGI header normalization bypass in `forward_auth copy_headers`
CVE-2026-456922026-06-233.8Caddy: Remote Admin Authorization Bypass in `/config` API via Array Index Normalization
CVE-2026-451352026-06-238.1Caddy: 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.

NVD · CVE.org