{"id":"CVE-2026-30851","summary":"Caddy forward_auth copy_headers Does Not Strip Client-Supplied Headers, Allowing Identity Injection and Privilege Escalation","details":"Caddy is an extensible server platform that uses TLS by default. From version 2.10.0 to before version 2.11.2, forward_auth copy_headers does not strip client-supplied headers, allowing identity injection and privilege escalation. This issue has been patched in version 2.11.2.","aliases":["GHSA-7r4p-vjf4-gxv4","GO-2026-4639"],"modified":"2026-04-02T13:23:41.920019Z","published":"2026-03-07T16:28:37.097Z","related":["SUSE-SU-2026:1042-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30851.json","cwe_ids":["CWE-287","CWE-345"],"cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30851.json"},{"type":"ADVISORY","url":"https://github.com/caddyserver/caddy/security/advisories/GHSA-7r4p-vjf4-gxv4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30851"},{"type":"REPORT","url":"https://github.com/caddyserver/caddy/issues/6610"},{"type":"FIX","url":"https://github.com/caddyserver/caddy/pull/6608"},{"type":"FIX","url":"https://github.com/caddyserver/caddy/pull/7545"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/caddyserver/caddy","events":[{"introduced":"fb22a26b1a08a2fa3b2526d1852467904ee140f6"},{"fixed":"ffb6ab0644f24c5ee6542aca6bd59b7a1b0a8f91"}],"database_specific":{"versions":[{"introduced":"2.10.0"},{"fixed":"2.11.2"}]}}],"versions":["v2.10.0","v2.10.1","v2.10.2","v2.11.0","v2.11.0-beta.1","v2.11.0-beta.2","v2.11.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-30851.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/mholt/caddy","events":[{"introduced":"fb22a26b1a08a2fa3b2526d1852467904ee140f6"},{"fixed":"ffb6ab0644f24c5ee6542aca6bd59b7a1b0a8f91"}],"database_specific":{"versions":[{"introduced":"2.10.0"},{"fixed":"2.11.2"}]}}],"versions":["v2.10.0","v2.10.1","v2.10.2","v2.11.0","v2.11.0-beta.1","v2.11.0-beta.2","v2.11.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-30851.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"}]}