TLS Server Vulnerability in Caddy Affects User-Controlled Input Handling
CVE-2026-30852
5.5MEDIUM
What is CVE-2026-30852?
Caddy Server, an extensible server platform that employs TLS by default, has a vulnerability in its vars_regexp matcher whereby user-controlled input undergoes double-expansion. This flaw occurs in versions 2.7.5 through 2.11.1, where inputs such as {http.request.header.X-Input} are resolved not only once but then processed through the replacer again, allowing attackers to manipulate headers and extract sensitive information such as environment variables or file contents, including system information. This issue has been rectified in version 2.11.2.
Affected Version(s)
caddy >= 2.7.5, < 2.11.2
