Improper Neutralization of Special Elements used in an Expression Language Statement in Caddy - #VU165957
Published: November 12, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose environment variables, system information, and file contents up to 1 MB.
The vulnerability exists due to expression language injection in Caddy's variable matchers when header-derived values stored under literal variable keys undergo a second placeholder expansion. A remote attacker can send headers containing {env.AWS_SECRET_ACCESS_KEY} or {file./etc/passwd} to expose expanded secrets through configured response headers or forwarding to a backend.