CVE-2026-30852MEDIUM≥ 2.7.5, < 2.11.22026-03-06
CVE-2026-30852 [MEDIUM] CWE-200 Caddy's vars_regexp double-expands user input, leaking env vars and files
Caddy's vars_regexp double-expands user input, leaking env vars and files
### Summary
The `vars_regexp` matcher in `vars.go:337` double-expands user-controlled input through the Caddy replacer. When `vars_regexp` matches against a placeholder like `{http.request.header.X-Input}`, the header value gets resolved once (expected), then passed through `repl.ReplaceAll()` again (the bug). This m
ghsaosv