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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/caddyserver/caddy/security/advisories/GHSA-7r4p-vjf4-gxv4 exploit mitigation patch vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/caddyserver/caddy/issues/6610 issue-tracking
- https://github.com/caddyserver/caddy/pull/6608 issue-tracking patch
- https://github.com/caddyserver/caddy/pull/7545 issue-tracking patch
- github.com product
- github.com
- security.alpinelinux.org vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- Debian Security Tracker CVE-2026-30851 vendor-advisory