Skip to content

CVE-2026-30851 Caddy forward_auth copy_headers Does Not Strip Client-Supplied Headers, Allowing Identity Injection and Privilege Escalation

HighCVSS 8.8 EPSS 0.29%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
UbuntuDebian

Description

Caddy is an extensible server platform that uses TLS by default. From version 2.10.0 to before version 2.11.2, forward_auth copy_headers does not strip client-supplied headers, allowing identity injection and privilege escalation. This issue has been patched in version 2.11.2.

Upgrade path

8 packages: 5 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/caddy(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/caddy(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/caddy(Ubuntu 26.10) All versions No fix listed No fix yet
alpine/caddy(Alpine v3.23) >= 2.10.0, < 2.11.2-r0 2.11.2-r0 Fixed
alpine/caddy(Alpine v3.24) >= 2.10.0, < 2.11.2-r0 2.11.2-r0 Fixed
caddyserver github.com/caddyserver/caddy = >= 2.10.0, < 2.11.2; >= 2.10.0, < 2.11.2 2.11.2 Fixed
caddyserver github.com/caddyserver/caddy(Go) >= 2.10.0, < 2.11.2 2.11.2 Fixed
caddyserver github.com/caddyserver/caddy/v2/modules/caddyhttp/reverseproxy(Go) >= 2.10.0, < 2.11.2 2.11.2 Fixed

Affected products

ProductAffected versionsFixed in
caddyserver github.com/caddyserver/caddy/v2/modules/caddyhttp/reverseproxy(Go) >= 2.10.0, < 2.11.2 2.11.2
caddyserver github.com/caddyserver/caddy(Go) >= 2.10.0, < 2.11.2 2.11.2
caddyserver github.com/caddyserver/caddy = >= 2.10.0, < 2.11.2 No fix listed
alpine/caddy(Alpine:v3.23) >= 2.10.0, < 2.11.2-r0 2.11.2-r0
alpine/caddy(Alpine:v3.24) >= 2.10.0, < 2.11.2-r0 2.11.2-r0
ubuntu/caddy(Ubuntu:24.04) All versions No fix listed
ubuntu/caddy(Ubuntu:26.04) All versions No fix listed
ubuntu/caddy(Ubuntu:26.10) All versions No fix listed
caddyserver github.com/caddyserver/caddy >= 2.10.0, < 2.11.2 2.11.2

References