PT-2026-50161

CVE-2026-52845

·

Published

2026-06-16

·

Updated

2026-10-20

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Caddy versions prior to 2.11.4
Description An issue exists where forward auth copy headers deletes client-supplied identity headers before copying trusted values from an authentication gateway. However, when requests are processed via php fastcgi, Caddy normalizes HTTP headers into CGI variables by replacing hyphens (-) with underscores ( ). This allows a remote client to send an underscore alias (e.g., Remote Groups instead of Remote-Groups) that bypasses the deletion step but results in the same PHP/FastCGI variable (e.g., HTTP REMOTE GROUPS). Consequently, a remote client can inject or override identity or group headers trusted by PHP/FastCGI applications behind Caddy, potentially leading to group/role injection or user impersonation.
Recommendations Update to version 2.11.4. As a temporary workaround, restrict the use of the php fastcgi module or the forward auth copy headers feature for identity headers until the update is applied.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-F59H-Q822-G45G
CLEANSTART-2026-DI50489
GO-2026-5346
OPENSUSE-SU-2026:21551-1
SUSE-SU-2026:23216-1
SUSE-SU-2026:23227-1
Found an issue in the description? Have something to add? Feel free to write us 👾