CVEBrief

Home / caddyserver / caddy / CVE-2026-52845

CVE-2026-52845: is it exploited, and which versions of caddyserver caddy are affected and fixed?

CVE-2026-52845 is an authentication bypass (improper authentication) vulnerability in caddyserver caddy. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:38 UTC). Affected: github.com/caddyserver/caddy/v2 before 2.11.4 and github.com/caddyserver/caddy through 1.0.5 (GitHub advisory GHSA-f59h-q822-g45g). Fixed in 2.11.4 (GitHub advisory GHSA-f59h-q822-g45g). Severity: High (8.1, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:10 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 09:38 UTC
Affected
github.com/caddyserver/caddy/v2 before 2.11.4 and github.com/caddyserver/caddy through 1.0.5
GitHub advisory GHSA-f59h-q822-g45g
Fixed in
2.11.4
GitHub advisory GHSA-f59h-q822-g45g
Severity
High 8.1
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
0.29% in 30 days
higher than 23% of CVEs; FIRST, December 2, 2026

What is CVE-2026-52845?

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.

From the CVE record by GitHub_M, last updated July 15, 2026, 00:46 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
caddyservercaddy< 2.11.4

As the CVE record by GitHub_M states it, last updated July 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Gogithub.com/caddyserver/caddy/v2< 2.11.42.11.4GHSA-f59h-q822-g45g
Gogithub.com/caddyserver/caddy<= 1.0.5none listedGHSA-f59h-q822-g45g

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 20, 2026. Summary: Caddy: FastCGI header normalization bypass in `forward_auth copy_headers`.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
caddyservercaddybefore 2.11.4application

NVD analysis (status Modified), last modified October 25, 2026, 23:10 UTC.

How severe is CVE-2026-52845?

ScoreVersionVectorSource
High 8.1CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NGitHub_M
High 8.1CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Nredhat-SADP

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-52845 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: poc; automatable: no; technical impact: total (CISA ADP, June 24, 2026)
EPSS
0.29% probability of exploitation activity in the next 30 days, percentile 23.3 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
June 8, 2026
Published
June 23, 2026, 17:52 UTC
CVE record updated
July 15, 2026, 00:46 UTC by GitHub_M
NVD
Modified, last modified October 25, 2026, 23:10 UTC
Last checked
CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 09:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect caddy?

Every CVE in caddy

Questions about CVE-2026-52845

Is CVE-2026-52845 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:38 UTC. FIRST's EPSS gives it a 0.29% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of caddyserver caddy are affected by CVE-2026-52845?

github.com/caddyserver/caddy/v2 before 2.11.4 and github.com/caddyserver/caddy through 1.0.5, per the GitHub advisory GHSA-f59h-q822-g45g. The tables above give every range the sources list.

Which version fixes CVE-2026-52845?

2.11.4, per the GitHub advisory GHSA-f59h-q822-g45g. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-52845?

High (8.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2026-52845?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.