Header Injection Affecting github.com/caddyserver/caddy/v2/modules/caddyhttp/reverseproxy/forwardauth package, versions >=2.10.0 <2.11.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.25% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMCADDYSERVERCADDYV2MODULESCADDYHTTPREVERSEPROXYFORWARDAUTH-15440580
  • published10 Mar 2026
  • disclosed6 Mar 2026
  • creditnewklei

Introduced: 6 Mar 2026

CVE-2026-30851  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

Upgrade github.com/caddyserver/caddy/v2/modules/caddyhttp/reverseproxy/forwardauth to version 2.11.2 or higher.

Overview

Affected versions of this package are vulnerable to Header Injection in the parseCaddyfile function. An attacker can inject arbitrary values into trusted identity headers by supplying crafted HTTP headers when authenticated with a valid token, leading to unauthorized privilege escalation in backend services.

CVSS Base Scores

version 4.0
version 3.1