{"schema_version":"1.9.0","id":"CVE-2026-30851","published":"2026-03-07T16:28:37.097Z","modified":"2026-08-12T03:51:24.191791726Z","aliases":["GHSA-7r4p-vjf4-gxv4","GO-2026-4639"],"related":["SUSE-SU-2026:1042-1","openSUSE-SU-2026:21483-1"],"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/caddyserver/caddy","events":[{"introduced":"fb22a26b1a08a2fa3b2526d1852467904ee140f6"},{"fixed":"ffb6ab0644f24c5ee6542aca6bd59b7a1b0a8f91"}],"database_specific":{"cpe":"cpe:2.3:a:caddyserver:caddy:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.10.0"},{"fixed":"2.11.2"}],"source":["AFFECTED_FIELD","CPE_RANGE"]}}],"versions":["v2.11.1","v2.11.0","v2.11.0-beta.2","v2.11.0-beta.1","v2.10.2","v2.10.1","v2.10.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-30851.json"}}],"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"}],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-287","CWE-345"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30851.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"}]}