Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/traefik/traefik/v3
  4. ›
  5. CVE-2026-71324

CVE-2026-71324: Traefik: Cross-user response poisoning via proxied CONNECT on Traefik's shared backend keep-alive pool

August 6, 2026

There is a critical vulnerability in Traefik’s default HTTP reverse proxy that leads to unauthenticated cross-user response poisoning. When a client opens an HTTP/2 or HTTP/3 CONNECT request, Traefik forwards it — body included — to an HTTP/1.1 upstream over a shared net/http.Transport. If the upstream answers the CONNECT with a keep-alive non-2xx response without draining the body, the now-desynchronized backend socket is returned to Traefik’s shared connection pool and reused for other clients, letting an attacker make a different client read a response the attacker smuggled — which may be another user’s authenticated or private content. The entrypoint’s sanitizePath option (default true) is not a reliable defense: backends that answer CONNECT / with a keep-alive non-2xx remain exploitable. The experimental FastProxy implementation was not affected. The issue is fixed by deferring the forwarded CONNECT payload until the backend accepts the tunnel, by not returning CONNECT connections to the shared idle pool, and by discarding the CONNECT body in the ForwardAuth path.

Traefik’s default reverse proxy forwards a plain HTTP/2 or HTTP/3 CONNECT request and its body to an HTTP/1.1 upstream through a shared net/http.Transport. When the upstream answers the CONNECT with a keep-alive non-2xx response and does not drain the body, Traefik returns the now desynchronized backend socket to its shared pool and reuses it for other clients. An unauthenticated attacker uses this to make a different client read the attacker’s smuggled response.

Traefik’s default proxy is net/http/httputil.ReverseProxy over a shared http.Transport, so it inherits the same root cause as the Caddy reverse_proxy CONNECT pool poisoning.

Traefik ships one partial mitigation Caddy does not. The entrypoint option sanitizePath (default true) rewrites the forwarded CONNECT’s empty path to /, so Traefik emits CONNECT / instead of authority-form CONNECT host:port. This is not a reliable defense. It avoids the smuggle only against backends that reject CONNECT / by closing the connection (Apache, nginx). Backends that answer CONNECT / with a keep-alive non-2xx and leave the body undrained still cross. That set includes any Go net/http server and gunicorn/Flask.

Confirmed on the official image traefik:v3.6.23 (a currently supported release), default configuration, against stock go-httpbin (Go) and kennethreitz/httpbin (Python gunicorn/Flask), attacker and victim in separate containers, over both HTTP/2 and HTTP/3.

References

  • github.com/advisories/GHSA-3ccp-42pg-hgv6
  • github.com/traefik/traefik/commit/04d36f28e4eae7535e96a6351dd9f7bfb48a30e7
  • github.com/traefik/traefik/commit/0807b6d5dd1da8b2f7f4076ea2392b5437bf2ab0
  • github.com/traefik/traefik/commit/94a7508817d180f0ab2f1eae93df48d4ab19ecce
  • github.com/traefik/traefik/pull/13542
  • github.com/traefik/traefik/pull/13543
  • github.com/traefik/traefik/pull/13556
  • github.com/traefik/traefik/releases/tag/v2.11.53
  • github.com/traefik/traefik/releases/tag/v3.6.24
  • github.com/traefik/traefik/releases/tag/v3.7.9
  • github.com/traefik/traefik/security/advisories/GHSA-3ccp-42pg-hgv6
  • nvd.nist.gov/vuln/detail/CVE-2026-71324

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.6.24, all versions starting from 3.7.0 before 3.7.9

Fixed versions

  • 3.6.24
  • 3.7.9

Solution

Upgrade to versions 3.6.24, 3.7.9 or above.

Impact 9.1 CRITICAL

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

Learn more about CVSS

Weakness

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

Source file

go/github.com/traefik/traefik/v3/CVE-2026-71324.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 15 Sep 2026 00:19:47 +0000.