CVE Tools

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.

Published Updated Sources: CVE.org, NVD

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
  1. Check your Caddy version and whether you use forward_auth with copy_headers alongside a FastCGI backend (for example, PHP-FPM).
  2. If you are on Caddy before 2.11.4 and the setup matches, plan an upgrade to Caddy 2.11.4.
  3. If upgrading is delayed, remove or disable forward_auth copy_headers for 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 record

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

EPSS38th
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.

  1. Record updated
  2. OpenVAS check added
  3. Record updated
  4. Publishedweakness classified, att&ck mapped

Affected products

Technical detail

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

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.