CVE-2026-52845: caddyserver caddy · Improper Authentication
Affects caddyserver caddySource CVE Database V5
Not known to be exploited · CVSS 8.1 High : upgrade to 2.11.4 soon.
Data as of 5 Nov 2026, 00:01 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 38% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.11.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 23 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.
What to do
Upgrade caddy and caddyserver/caddy to 2.11.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| caddyservercaddy | Affected
| Fixed in
|
GitHubcaddyserver/caddypkg:github/caddyserver/caddyOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
This vulnerability is fixed in caddyserver caddy version 2.11.4. Users should upgrade to version 2.11.4 or later to remediate this issue. No other vendor advisories indicate alternative mitigations or that no action is required. Patch status is confirmed by the vendor advisory. There is no indication that this is a cloud service; thus, manual upgrade is required.
Description
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.
References
- github.com/caddyserver/caddy/security/advisories/GHSA-f59h-q822-g45g (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-52845 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2491907 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52845.json (opens in a new tab)