Improper access control in Caddy - CVE-2026-52844
Published: November 9, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to read protected static files in Windows Caddy deployments that enforce access restrictions through path matchers.
The vulnerability exists due to inconsistent backslash handling between Caddy path matchers and file_server on Windows when a request contains an encoded backslash. An unauthenticated remote attacker can request /private%5csecret.txt to bypass restrictions on /private/* and retrieve protected files within the configured site root.