CVE-2026-55458
Caddy: RFC 7230 §6.1 compliance issue / Hop-by-hop headers that leak through
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.
Fixes and workarounds
Fix
github.com/caddyserver/caddy/v2 (go): GitHub reports patched versions v2.11.5. Check the advisory for the affected release branch.
Source: GitHub GHSA-8qx7-j2v2-x6q5Fix
github.com/caddyserver/caddy/v2 (Go): OSV reports a fixed version 2.11.5. Check the advisory for supported release branches.
Source: OSV GHSA-8qx7-j2v2-x6q5Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| caddy caddyserver |
< 2.11.5 (affected) | CNA: GitHub_M |
github.com/caddyserver/caddy/v2github.com/caddyserver/caddy/v2
go |
<=v2.11.4 (affected, GitHub advisory range) | GitHub GHSA-8qx7-j2v2-x6q5 |
github.com/caddyserver/caddy/v2github.com/caddyserver/caddy/v2
Go |
≥ 0; < 2.11.5 (affected, semver); OSV events: introduced 0; fixed 2.11.5Source events (semver)
Other versions: unaffected |
OSV GHSA-8qx7-j2v2-x6q5 |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 4.0 / 2.9 low |
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P | CNA: GitHub_M |
| 4.0 / 2.9 low |
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD: [email protected] |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/caddyserver/caddy/security/advisories/GHSA-8qx7-j2v2-x6q5CNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/caddyserver/caddy/commit/25b3eab6dbd8d2d2670711f26b774e0fd43e1179CNA: GitHub_M · x_refsource_MISC
- https://github.com/caddyserver/caddy/releases/tag/v2.11.5CNA: GitHub_M · x_refsource_MISC
- https://github.com/caddyserver/caddy/commit/25b3eab6dbd8d2d2670711f26b774e0fd43e1179[email protected]
- https://github.com/caddyserver/caddy/releases/tag/v2.11.5[email protected]
- https://github.com/caddyserver/caddy/security/advisories/GHSA-8qx7-j2v2-x6q5[email protected]
- https://github.com/caddyserver/caddy/security/advisories/GHSA-8qx7-j2v2-x6q5GitHub Security Advisories · advisory
- https://github.com/advisories/GHSA-8qx7-j2v2-x6q5OSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-8qx7-j2v2-x6q5OSV / GitHub Security Advisories · osv
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.