Path traversal in Caddy - #VU163186
Published: November 9, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to read files outside the intended document root that the Caddy process can access.
The vulnerability exists due to insufficient validation of request host values used in Caddy document roots such as /srv/sites/{host} on catch-all or on-demand TLS sites. An unauthenticated remote attacker can supply dot segments or slashes in host values to traverse directories and retrieve files through the file server.