Live threats

All CVEs / Caddyserver

CVE-2026-52845Caddyserver Caddy

High 8.1

Priority
49
CVSS 3.1
8.1
EPSS
—
Auth required
Yes
Published
Jun 23, 2026
Updated
Oct 25, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-287, CWE-290, CWE-444
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Caddy.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/caddyserver/caddy ≤ 1.0.5 no fixed version —
Go github.com/caddyserver/caddy/v2 < 2.11.4 2.11.4 go get github.com/caddyserver/caddy/v2@v2.11.4
Go github.com/caddyserver/caddy/v2 < 2.11.4 2.11.4 go get github.com/caddyserver/caddy/v2@v2.11.4

Per OSV / GitHub Advisories (GHSA-f59h-q822-g45g, GO-2026-5346). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
caddyservercaddy< 2.11.4

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.