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

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-06T23:38:44.000Z
- Modified: 2026-06-17T10:33:01.980Z
- Also known as: GHSA-7r4p-vjf4-gxv4, GO-2026-4639
- Weaknesses: CWE-287, CWE-345
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- caddyserver caddy: >= 2.10.0, < 2.11.2; from 2.10.0 before 2.11.2
- github.com/caddyserver/caddy/v2/modules/caddyhttp/reverseproxy (Go): from 2.10.0 before 2.11.2
- github.com/caddyserver/caddy/v2 (Go): from 2.10.0 before 2.11.2

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/caddyserver/caddy/security/advisories/GHSA-7r4p-vjf4-gxv4> (exploit, advisory, mitigation, patch, vendor-advisory, web)
- <https://github.com/caddyserver/caddy/issues/6610> (issue-tracking, report, web)
- <https://github.com/caddyserver/caddy/pull/6608> (fix, issue-tracking, patch, web)
- <https://github.com/caddyserver/caddy/pull/7545> (fix, issue-tracking, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-30851> (advisory)
- <https://github.com/caddyserver/caddy> (package)

## Sources

- CVE List: [CVE-2026-30851](https://www.cve.org/CVERecord?id=CVE-2026-30851), CVE Terms of Use, modified 2026-03-09
- GitHub Advisory Database: [GHSA-7r4p-vjf4-gxv4](https://github.com/advisories/GHSA-7r4p-vjf4-gxv4), CC-BY-4.0, modified 2026-03-23
- Go Vulnerability Database: [GO-2026-4639](https://pkg.go.dev/vuln/GO-2026-4639), CC-BY-4.0, modified 2026-03-23
- NVD: [CVE-2026-30851](https://nvd.nist.gov/vuln/detail/CVE-2026-30851), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-30851 · Whole record: https://cve.day/CVE-2026-30851.json · Rebuilt by cve.day 2026-11-25T22:59:15.483Z
