REDHAT-BUG-2491907: High severity Caddy Caddy vulnerability

Published Jun 23, 2026
·
Updated

Caddy is an extensible server platform that uses TLS by default. Prior to 2.11.4, forwardauth copyheaders deletes the exact client-supplied identity header before copying the trusted value from the auth gateway. But when the request later goes through phpfastcgi, Caddy normalizes HTTP headers into CGI variables by replacing - with . This lets a client send an underscore alias that survives the forwardauth delete step but becomes the same PHP/FastCGI variable. Result: a remote client can inject or sometimes override identity/group headers trusted by PHP/FastCGI applications behind Caddy. This vulnerability is fixed in 2.11.4.

Affected Software

1 affected component
Caddy Caddy<2.11.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Caddy to a version that resolves this vulnerability.

    Fixed in 2.11.4

Event History

Jun 23, 2026
Data Sourced
via Red Hat·07:02 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2491907?

The severity of REDHAT-BUG-2491907 is categorized as high with a score of 7.

2

How do I fix REDHAT-BUG-2491907?

To fix REDHAT-BUG-2491907, upgrade Caddy to version 2.11.4 or later.

3

What is the impact of REDHAT-BUG-2491907 on security?

REDHAT-BUG-2491907 can lead to potential exposure of client identity information due to improper handling of headers.

4

What version of Caddy is vulnerable to REDHAT-BUG-2491907?

Caddy versions prior to 2.11.4 are vulnerable to REDHAT-BUG-2491907.

5

What is the description of REDHAT-BUG-2491907?

REDHAT-BUG-2491907 describes a vulnerability in Caddy where the forward_auth copy_headers functionality improperly manages client-supplied identity headers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203