CVE-2026-30851 Details
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.
A vulnerability in Caddy's forward authentication feature allows for identity injection and privilege escalation. This issue is present in Caddy versions 2.10.0 prior to 2.11.2. The vulnerability arises because the 'copy_headers' option in the forward_auth directive does not remove client-supplied headers when the authentication backend fails to provide them. As a result, an attacker can inject arbitrary values into trusted identity headers, which the backend may accept as legitimate.
Users can update to Caddy version 2.11.2 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/caddyserver/caddy/issues/6610 | [email protected] | Issue Tracking |
| https://github.com/caddyserver/caddy/pull/6608 | [email protected] | Issue TrackingPatch |
| https://github.com/caddyserver/caddy/pull/7545 | [email protected] | Issue TrackingPatch |
| https://github.com/caddyserver/caddy/security/advisories/GHSA-7r4p-vjf4-gxv4 | [email protected] | ExploitMitigationPatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-287 | Improper Authentication | [email protected] |
| CWE-345 | Insufficient Verification of Data Authenticity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| caddyserver caddy | >= 2.10.0, < 2.11.2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 11, 2026 | Initial Analysis | [email protected] |
| Mar 7, 2026 | New CVE Received | [email protected] |