CVE-2026-52845
Caddy: FastCGI header normalization bypass in `forward_auth copy_headers`
No known exploitation. EPSS puts it in the 38th percentile. Fixed in 2.11.4.
What to do
Find your product and version, then upgrade to the build on the right.
- Caddyserver CaddyAffected: < 2.11.4Upgrade to: 2.11.4Stated by: NVD
Versions as the sources state them. Full version matrix after sign-in
Steps
Written by AI from the record- Check your Caddy version and whether you use
forward_authwithcopy_headersalongside a FastCGI backend (for example, PHP-FPM). - If you are on Caddy before 2.11.4 and the setup matches, plan an upgrade to Caddy 2.11.4.
- If upgrading is delayed, remove or disable
forward_authcopy_headersfor identity/group header forwarding until you can upgrade.
What it is
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.
In plain language
Written by AI from the recordCaddy versions before 2.11.4 can let a visitor smuggle fake identity or group information to backend FastCGI apps (like PHP-FPM); if you use forward_auth with copy_headers, you should act now.
In Caddy (pre-2.11.4), `forward_auth` `copy_headers` can be bypassed via FastCGI header normalization (underscore handling), allowing a remote client to inject/override identity/group headers that the FastCGI application trusts.
If you're affected
- User identity spoofing
- Unauthorized account access
- Sensitive user data exposure
- Privilege escalation risk
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
0.4% chance of exploitation activity in the next 30 days, which ranks it in the 38th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
6 events over 22 days, from the signal feeds we watch.
- Record updated
- OpenVAS check added
- Record updated
- Publishedweakness classified, att&ck mapped
Affected products
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Scored 8.1 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required LowRequires basic user-level privileges
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability NoneNo availability impact
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- github.com/caddyserver/caddy/security/advisories/GHSA-f59h-q822-g45g
- access.redhat.com/security/cve/CVE-2026-52845
- bugzilla.redhat.com/show_bug.cgi?id=2491907
And 1 more reference. See all after sign-in
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Caddy, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI