Improper Resolution of Path Equivalence in Caddy - #VU163187
Published: November 9, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to read static files that Caddy configurations protect with suffix or exact path rules.
The vulnerability exists due to inconsistent path normalization in Caddy's file matcher when try_files {path} follows those blocking rules, allowing trailing slash components to resolve to regular files. An unauthenticated remote attacker can request /.env/./ to bypass the earlier rule and retrieve the protected file's contents.