High severity · published Oct 8, 2026
CVE-2026-56866
HTTP/1 client connection desynchronization after CONNECT rejection in net/http
7.5
CVSS
0.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 41% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NE
net/http · Go standard library
before 1.26.9; 1.27.0-0 before 1.27.2 · source: vendor
NE
net/http/httputil · Go standard library
before 1.26.9; 1.27.0-0 before 1.27.2 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-56866
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-56866
go.dev
https://go.dev/cl/847306
go.dev
https://go.dev/issue/81740
groups.google.com
https://groups.google.com/g/golang-announce/c/U2fTuyDJznI
pkg.go.dev
https://pkg.go.dev/vuln/GO-2026-6605
More from net/http
9.6
CVE-2026-39821
Invoking failure to reject ASCII-only Punycode-encoded labels in golang.org/x/net/idna
9.1
CVE-2026-78663
Double flow control refund on HTTP/2 server streams in net/http
7.5
CVE-2026-97032
HTTP/2 server crash due to HPACK encoder race in net/http
7.5
CVE-2026-94439
HTTP/1 server connection desynchronization after 2xx CONNECT response in net/http
7.5
CVE-2026-78669
Excessive CPU consumption from repeated initial window changes in net/http
