CVE catalog

CVE-2026-52845

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

[CVE catalog]

Severity
High · CVSS 8.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.45% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiancaddysid2.11.4-1fixed
Debiancaddyforky2.11.4-1fixed
Debiancaddytrixie2.6.2-12+deb13u1fixed
Debiancaddytrixie-security2.6.2-12+deb13u1fixed
Debiancaddybookworm2.6.2-5vulnerable
Debiancaddybookworm-security2.6.2-5+deb12u1fixed
CpecaddyNot reportedNot reportedvulnerable
CpecaddyNot reported2.11.4fixed
Gogithub.com/caddyserver/caddy/v2Not reported2.11.4fixed
CpecaddyNot reported2.11.4fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancaddysourcesid2.11.4-1not yet assignedNot reported[1140773]
Debiancaddysourceforky2.11.4-1not yet assignedNot reported[1140773]
Debiancaddysourcetrixie2.6.2-12+deb13u1not yet assignedNot reported[1140773]
Debiancaddysourcebookworm2.6.2-5+deb12u1not yet assignedNot reported[1140773]
CpecaddycpeNot reported2.11.4Not reportedNot reportedNot reported
Gogithub.com/caddyserver/caddy/v2GoNot reported2.11.4Not reportedNot reportedNot reported
CpecaddycpeNot reported2.11.4Not reportedNVD-CVE-2026-52845Not reported

[Debian bug #1140773]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [caddy]Affected
    Details (2)
    • 2.6.2-5 · amd64 · bookworm

      Affected · Fixed: 2.6.2-5+deb12u1

      nvd · caddy · debian · bookworm; nvd · caddy · debian · 12

    • 2.6.2-5 · arm64 · bookworm

      Affected · Fixed: 2.6.2-5+deb12u1

      nvd · caddy · debian · bookworm; nvd · caddy · debian · 12

[Debian 13 (Trixie)]

  • [caddy]Affected
    Details (5)
    • 2.6.2-12+b3 · amd64 · trixie

      Affected · Fixed: 2.6.2-12+deb13u1

      nvd · caddy · debian · 13

    • 2.6.2-12+b3 · arm64 · trixie

      Affected · Fixed: 2.6.2-12+deb13u1

      nvd · caddy · debian · 13

    • 2.11.2-1~bpo13+1 · amd64 · trixie-backports

      Fixed · Fixed: 2.6.2-12+deb13u1

      nvd · caddy · debian · 13

    • 2.6.2-12+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 2.6.2-12+deb13u1

      nvd · caddy · debian · 13

    • 2.6.2-12+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 2.6.2-12+deb13u1

      nvd · caddy · debian · 13

Observed:

References