CVE-2026-30851
Published: 07 March 2026
Summary
CVE-2026-30851 is a high-severity Improper Authentication (CWE-287) vulnerability in Caddyserver Caddy. Its CVSS base score is 8.1 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked at the 15.9th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified are NIST 800-53 SI-2 (Flaw Remediation) and AC-3 (Access Enforcement).
Deeper analysis
CVE-2026-30851 is a vulnerability in Caddy, an extensible server platform that uses TLS by default. It affects versions from 2.10.0 up to but not including 2.11.2, specifically in the forward_auth directive's copy_headers feature, which fails to strip client-supplied headers. This flaw enables identity injection and privilege escalation, rated at a CVSS v3.1 base score of 8.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N) and linked to CWE-287 (Improper Authentication) and CWE-345 (Insufficient Verification of Data Authenticity).
An attacker requires low privileges (PR:L) to exploit this vulnerability over the network (AV:N) with low attack complexity (AC:L) and no user interaction (UI:N). Exploitation allows injection of client-supplied headers into forwarded authentication requests, enabling identity impersonation and privilege escalation. This results in high impacts on confidentiality (C:H) and integrity (I:H) without affecting availability (A:N), all within the unchanged scope (S:U).
The vulnerability has been patched in Caddy version 2.11.2. Security practitioners should upgrade to this version for mitigation. Additional details are available in the GitHub security advisory (GHSA-7r4p-vjf4-gxv4), issue tracker (#6610), and related pull requests (#6608, #7545).
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-10176
Vulnerability details
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Vulnerability in Caddy's forward_auth copy_headers allows client header injection for identity impersonation on a network-accessible server, directly enabling authenticated privilege escalation (T1068) via exploitation of a public-facing application (T1190).
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
Directly remediates the vulnerability by requiring timely patching of Caddy to version 2.11.2 or later to fix the forward_auth copy_headers flaw.
Requires validation of client-supplied HTTP headers to prevent injection of malicious identity data into forwarded authentication requests.
Enforces approved access authorizations, mitigating privilege escalation resulting from injected identities in the authentication flow.