<Vulnerability name="CVE-2026-55458">
    <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
    <ThreatSeverity>Low</ThreatSeverity>
    <PublicDate>2026-11-05T20:15:22</PublicDate>
    <Bugzilla id="2567475" url="https://bugzilla.redhat.com/show_bug.cgi?id=2567475" xml:lang="en:us">
github.com/caddyserver/caddy: caddy: Hop-by-hop header leakage via improper protocol upgrade response handling
    </Bugzilla>
    <CVSS3 status="draft">
        <CVSS3BaseScore>3.7</CVSS3BaseScore>
        <CVSS3ScoringVector>CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N</CVSS3ScoringVector>
    </CVSS3>
    <CWE>CWE-791</CWE>
    <Details xml:lang="en:us" source="Mitre">
Caddy is an extensible server platform that uses TLS by default. Prior to 2.11.5, the reverse proxy's finalizeResponse method in modules/caddyhttp/reverseproxy/reverseproxy.go handles an upstream 101 Switching Protocols response before running removeConnectionHeaders and the hopHeaders deletion loop used for ordinary responses. The early return invokes handleUpgradeResponse, which copies the upstream headers to the client and normalizes only WebSocket-specific header names. An attacker who controls or compromises a proxied WebSocket upstream can therefore cause hop-by-hop headers such as Alt-Svc, Keep-Alive, and Proxy-Authenticate, as well as headers named by Connection, to cross the proxy boundary. For HTTP/2 or HTTP/3 extended CONNECT, the upstream 101 response may be represented to the client as an ordinary successful response, increasing the chance that leaked headers are processed. This issue is fixed in version 2.11.5.
    </Details>
    <Details xml:lang="en:us" source="Red Hat">
A flaw was found in Caddy's reverse proxy module. When processing protocol upgrade responses, the proxy fails to properly remove hop-by-hop headers intended only for intermediate connections. A malicious or compromised upstream server can exploit this flaw to forward restricted connection headers across the proxy boundary. This can cause clients to process untrusted connection instructions, potentially leading to unintended connection behavior.
    </Details>
    <Statement xml:lang="en:us">
This vulnerability is classified as having a Low impact because exploitation depends on an attacker already possessing administrative control or compromise over an upstream backend service. In typical enterprise architectures, reverse proxies route traffic to trusted internal services, which significantly reduces the likelihood of encountering rogue protocol upgrade responses. Moreover, the scope of the vulnerability is limited to the propagation of unstripped transport headers to connecting clients, without directly allowing remote command execution, privilege elevation, or access to server-side memory.
    </Statement>
    <Mitigation xml:lang="en:us">
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
    </Mitigation>
    <PackageState cpe="cpe:/a:redhat:hummingbird:1">
        <ProductName>Red Hat Hardened Images</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>caddy</PackageName>
    </PackageState>
    <References xml:lang="en:us">
https://www.cve.org/CVERecord?id=CVE-2026-55458
https://nvd.nist.gov/vuln/detail/CVE-2026-55458
https://github.com/caddyserver/caddy/commit/25b3eab6dbd8d2d2670711f26b774e0fd43e1179
https://github.com/caddyserver/caddy/releases/tag/v2.11.5
https://github.com/caddyserver/caddy/security/advisories/GHSA-8qx7-j2v2-x6q5
    </References>
</Vulnerability>