Security mailing lists by PureSourceCode

CVE-2026-52845

HIGH 8.1CVSS 3.1

Caddy: 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD caddyserver caddy
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.