CVE-2026-52845
HIGH 8.1CVSS 3.1Caddy: FastCGI header normalization bypass in `forward_auth copy_headers`
Caddy is an extensible server platform that uses TLS by default. Prior to 2.11.4, forward_auth copy_headers deletes the exact client-supplied identity header before copying the trusted value from the auth gateway. But when the request later goes through php_fastcgi, Caddy normalizes HTTP headers into CGI variables by replacing - with _. This lets a client send an underscore alias that survives the forward_auth delete step but becomes the same PHP/FastCGI variable. Result: a remote client can inject or sometimes override identity/group headers trusted by PHP/FastCGI applications behind Caddy. This vulnerability is fixed in 2.11.4.
- Published
- 23 Jun 2026
- Last modified
- 25 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-287CWE-290CWE-444
- Also known as
- GHSA-f59h-q822-g45gGO-2026-5346
- Sources
- NVDJSONOSV GHSA-f59h-q822-g45gJSONOSV GO-2026-5346JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | caddyserver | caddycpe:2.3:a:caddyserver:caddy:*:*:*:*:*:*:*:* |
< 2.11.4 | 2.11.4 |
| OSV | Go | github.com/caddyserver/caddy/v2 | < 2.11.4 | 2.11.4 |
| OSV | Go | github.com/caddyserver/caddy | <= 1.0.5 |
References
- https://github.com/caddyserver/caddy/security/advisories/GHSA-f59h-q822-g45g · Exploit, Third Party Advisory, WEB, ADVISORY
- https://access.redhat.com/security/cve/CVE-2026-52845 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2491907 · WEB
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52845.json · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-52845 · ADVISORY
- https://github.com/caddyserver/caddy · PACKAGE
- https://github.com/caddyserver/caddy/pull/7633 · FIX
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 23 Jun 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Jul 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Jun 2026)