Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/caddyserver/caddy/v2
  4. ›
  5. CVE-2026-55458

CVE-2026-55458: Caddy has an RFC 7230 §6.1 compliance issue / Hop-by-hop headers that leak through

October 28, 2026

Caddy’s reverse proxy fails to strip RFC 7230 hop-by-hop headers from upstream responses when handling WebSocket upgrades (HTTP 101 Switching Protocols). Headers including Alt-Svc, Keep-Alive, Proxy-Authenticate, Transfer-Encoding, or Trailer, which Caddy actually correctly strips for normal HTTP responses, pass through unfiltered to the client during protocol upgrades. An upstream that sets these headers (intentionally or otherwise) can inject them into client responses, enabling connection hijacking via Alt-Svc, cookie injection via Set-Cookie, and proxy authentication phishing.

The normal response path in finalizeResponse correctly strips all hop-by-hop headers before forwarding, but the 101 code path returns early, skipping the stripping entirely.

References

  • github.com/advisories/GHSA-8qx7-j2v2-x6q5
  • github.com/caddyserver/caddy/releases/tag/v2.11.5
  • github.com/caddyserver/caddy/security/advisories/GHSA-8qx7-j2v2-x6q5
  • nvd.nist.gov/vuln/detail/CVE-2026-55458

Code Behaviors & Features

Detect and mitigate CVE-2026-55458 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.11.5

Fixed versions

  • 2.11.5

Solution

Upgrade to version 2.11.5 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

Source file

go/github.com/caddyserver/caddy/v2/CVE-2026-55458.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:28 +0000.