All vulnerabilities
CVE-2026-56866

HTTP/1 client connection desynchronization after CONNECT rejection in net/http

Go standard library net/http
CVSS
7.5High
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.31%Chance of exploitation activity in the next 30 days, higher than 22% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in1.26.9Also 1.27.2CVE List
Published8 Oct 2026Updated 9 Oct 2026CVE List

What fixes it

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Description

When http.Transport sends an HTTP/1 CONNECT request with a non-empty Request.Body, it writes the body directly to the connection without framing after the request headers. If the server rejects the CONNECT request with a non-2xx keep-alive response, Transport returns the connection to the idle pool. Because CONNECT requests do not have a request body, the server may interpret the trailing body bytes as a subsequent pipelined HTTP/1.1 request on the connection, leaving the pooled connection desynchronized and causing the next caller that reuses it to read the response to the injected request. In reverse proxies (including httputil.ReverseProxy) that forward CONNECT requests through a shared Transport, this can lead to cross-user response poisoning.

Text from CVE List

Affected versions 4

  • net/httpaffected: all versions before 1.26.9CVE List
  • net/httpaffected: 1.27.0-0 before 1.27.2CVE List
  • net/http/httputilaffected: all versions before 1.26.9CVE List
  • net/http/httputilaffected: 1.27.0-0 before 1.27.2CVE List

References 4