caddyserver · Caddy · published 2026-06-23

CVE-2026-52845Caddy: FastCGI header normalization bypass in `forward_auth copy_headers`

This month Public proof-of-concept exists (SSVC exploitation: poc).

CVE-2026-52845 has a public proof-of-concept exploit, but no confirmed exploitation in the wild. EPSS estimates a 0.4% chance of exploitation in the next 30 days, higher than 39% of all CVEs. This Caddy vulnerability: CVSS 8.1 (v3.1), a successful attack gives total control of the component. Fixed upstream in Caddy 2.11.4. Patch in your normal monthly cycle.

Share this

Remediation#

Fixed upstream in Caddy 2.11.4.

Patch events

  1. This monthSecurity release

    Web serverCaddy

    Caddy security release: 2.11.4

    Upgrade to 2.11.4

    Why: CVE-2026-52845: Public proof-of-concept exists (SSVC exploitation: poc).

Exploit intelligence#

SignalValueSource
Known exploitedNoCISA KEV
Ransomware use—CISA KEV
EPSS (30-day exploitation probability)0.4% (40th pct)FIRST EPSS v2026.06.15
CVSS base score8.1 (v3.1)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CNA / CISA ADP
SSVC exploitationpocCISA Vulnrichment
SSVC automatableNoCISA Vulnrichment
SSVC technical impacttotalCISA Vulnrichment

Affected versions (from the CVE record)#

Description (from the CVE record)#

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.

Quoted from the CVE Program record.

Elsewhere#

Distro status: Debian · Ubuntu · Red Hat · Alpine

Something wrong on this page?
Anonymous. Reports are checked against the primary source.

Also on today's list

See today's list → · Coming up →