SB2026042758 - Multiple vulnerabilities in Caddy
Published: April 27, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 vulnerabilities.
1) Insufficient verification of data authenticity (CVE-ID: CVE-2026-30851)
CWE-ID: CWE-345 - Insufficient Verification of Data Authenticity
CVSSv4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote user to inject trusted identity headers and escalate privileges.
The vulnerability exists due to insufficient verification of data authenticity in the forward_auth copy_headers handling in modules/caddyhttp/reverseproxy/forwardauth/caddyfile.go when processing requests for which the upstream auth service returns 200 OK without one of the configured copy_headers headers. A remote user can send a specially crafted request with forged identity headers to inject trusted identity headers and escalate privileges.
Exploitation requires a valid authentication token, and affects deployments where the auth service validates credentials without returning the configured identity headers in its response.
CWE-ID: CWE-74 - Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to improper neutralization of special elements in the vars_regexp matcher when processing user-controlled placeholder values. A remote attacker can send a specially crafted request header to disclose sensitive information.
Exploitation requires a configuration in which vars_regexp matches user-controlled input and the captured value is reflected in the response.
Remediation
Install update from vendor's website.