{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-30852","published":"2026-03-07T17:15:52.733000Z","last_modified":"2026-06-17T10:33:02.100000Z","status":"Analyzed","cvss":{"version":"4.0","score":5.5,"severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-74","CWE-200"],"cpes":[{"criteria":"cpe:2.3:a:caddyserver:caddy:*:*:*:*:*:*:*:*","part":"a","vendor":"caddyserver","product":"caddy","version_start_including":"2.7.5","version_end_excluding":"2.11.2"}],"cpes_truncated":false,"vendors":["caddyserver"],"products":["caddyserver/caddy"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GO-2026-4644","ecosystem":"Go","name":"github.com/caddyserver/caddy/v2","purl":"pkg:golang/github.com/caddyserver/caddy/v2","ranges":[{"introduced":"2.7.5","fixed":"2.11.2"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-m2w3-8f23-hxxf","ecosystem":"Go","name":"github.com/caddyserver/caddy/v2/modules/caddyhttp","purl":"pkg:golang/github.com/caddyserver/caddy/v2/modules/caddyhttp","ranges":[{"introduced":"2.7.5","fixed":"2.11.2"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":48,"links":{"html_es":"/es/cve/CVE-2026-30852/","html_en":"/en/cve/CVE-2026-30852/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-30852","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-30852"},"untrusted":{"vendor_name":"Caddyserver","product_name":"Caddy","desc_en":"Caddy is an extensible server platform that uses TLS by default. From version 2.7.5 to before version 2.11.2, 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 means an attacker can put {env.DATABASE_URL} or {file./etc/passwd} in a request header and the server will evaluate it, leaking environment variables, file contents, and system info. This issue has been patched in version 2.11.2.","affected":[{"untrusted_vendor":"caddyserver","untrusted_product":"caddy","versions":[]}],"references":[{"url":"https://github.com/caddyserver/caddy/pull/5408","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/caddyserver/caddy/releases/tag/v2.11.2","tags":["Product","Release Notes"]},{"url":"https://github.com/caddyserver/caddy/security/advisories/GHSA-m2w3-8f23-hxxf","tags":["Exploit","Mitigation","Vendor Advisory"]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:21483-1","url":"https://www.suse.com/support/update/","published":"2026-07-30T09:09:47+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for govulncheck-vulndb"}},{"source":"suse","id":"SUSE-SU-2026:1042-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20261042-1/","published":"2026-03-25T15:06:52+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for govulncheck-vulndb"}}]}