Skip to main content
Vulnerability Database/CVE-2026-78663

CVE-2026-78663: HTTP/2 Server Privilege Escalation Flaw

CVE-2026-78663 is a privilege escalation vulnerability in HTTP/2 server implementations that allows malicious clients to bypass flow control limits. This post covers technical details, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-78663 Overview

CVE-2026-78663 is a flow control bypass vulnerability in the Go HTTP/2 server implementation. The server refunds connection-level flow control credit twice for the same data when a client resets a stream containing buffered-but-unread bytes. A malicious client can repeatedly abuse this double-refund to exceed the configured MaxReceiveBufferPerConnection limit. The flaw is tracked upstream as GO-2026-6612 and issue #81743 in the Go project. Total buffered data remains bounded by concurrent stream limits and stream-level flow control, but attackers can still inflate per-connection memory consumption beyond intended thresholds. The vulnerability carries a CVSS score of 9.1 and is categorized under CWE-675: Multiple Operations on Resource.

Critical Impact

Remote unauthenticated attackers can bypass HTTP/2 connection-level buffer limits, enabling memory pressure and denial-of-service conditions against Go-based HTTP/2 servers.

Affected Products

  • Go standard library net/http HTTP/2 server
  • golang.org/x/net/http2 package
  • Applications and services built on Go HTTP/2 server implementations

Discovery Timeline

  • 2026-10-08 - CVE-2026-78663 published to NVD
  • 2026-10-09 - Last updated in NVD database

Technical Details for CVE-2026-78663

Vulnerability Analysis

The Go HTTP/2 server tracks connection-level flow control to cap how much data a peer can send before the server acknowledges consumption. When a client sends DATA frames to a stream and then issues RST_STREAM, the server returns the unread portion of that stream's bytes to the connection-level window. The server then returns the same bytes a second time when the request handler eventually drains the buffered data. This double accounting inflates the effective receive window beyond MaxReceiveBufferPerConnection.

An attacker who opens multiple streams, sends data, and resets them in sequence can repeatedly reclaim flow control credit for bytes still held in server buffers. The result is unbounded growth of the per-connection credit, allowing more in-flight data than the server operator configured. See the Go vulnerability record GO-2026-6612 for additional technical detail.

Root Cause

The root cause is a lifecycle accounting error: the refund path triggered by RST_STREAM does not coordinate with the refund path triggered when buffered data is later consumed. Both paths credit the same bytes to the connection window. This maps to [CWE-675: Multiple Operations on Resource in Single-Operation Context].

Attack Vector

Exploitation requires only network reachability to the HTTP/2 endpoint. No authentication or user interaction is needed. A malicious client issues HTTP/2 DATA frames to open streams and then sends RST_STREAM before the server-side handler consumes the data. By cycling this pattern across many streams, the attacker amplifies flow control credit and forces the server to buffer more data than MaxReceiveBufferPerConnection permits. The upstream fixes are tracked in Go CL 847187 and Go CL 847310.

No proof-of-concept code has been published; refer to the Go issue 81743 for discussion.

Detection Methods for CVE-2026-78663

Indicators of Compromise

  • Elevated HTTP/2 RST_STREAM frame rates from a single client or IP address
  • Growing process resident memory on Go-based HTTP/2 services without corresponding request throughput
  • WINDOW_UPDATE frames from the server inconsistent with configured MaxReceiveBufferPerConnection
  • Spikes in concurrent short-lived streams followed by immediate client resets

Detection Strategies

  • Instrument HTTP/2 servers to log per-connection buffered byte counts and alert when they exceed configured limits
  • Correlate RST_STREAM frame counts with DATA frame volume per connection to flag abusive ratios
  • Monitor Go runtime memory metrics for sustained growth tied to specific client connections
  • Deploy network sensors capable of parsing HTTP/2 frame types to identify reset-heavy traffic patterns

Monitoring Recommendations

  • Enable structured HTTP/2 frame-level logging at edge proxies in front of Go services
  • Track go_memstats_heap_inuse_bytes and HTTP/2 connection counts via Prometheus or equivalent telemetry
  • Alert on anomalous RST_STREAM to DATA frame ratios exceeding baseline thresholds
  • Review web application firewall logs for clients repeatedly opening and canceling streams

How to Mitigate CVE-2026-78663

Immediate Actions Required

  • Upgrade Go to a version containing the fixes referenced in Go CL 847187 and Go CL 847310
  • Rebuild and redeploy all services statically linked against vulnerable Go versions or golang.org/x/net/http2
  • Audit third-party Go binaries in production for embedded vulnerable HTTP/2 server code
  • Place rate-limiting reverse proxies in front of exposed Go HTTP/2 endpoints as an interim control

Patch Information

The Go security team published fixes in the changesets CL 847187 and CL 847310. The vulnerability record is GO-2026-6612. Release details are available in the golang-announce thread U2fTuyDJznI and golang-announce thread ZPwCyRUuGBs. Rebuild all Go binaries with the patched toolchain; vendored copies of golang.org/x/net/http2 must also be updated.

Workarounds

  • Lower MaxConcurrentStreams on the HTTP/2 server to constrain per-connection stream parallelism
  • Terminate HTTP/2 at a hardened reverse proxy such as nginx or envoy that enforces stricter flow control
  • Apply per-client connection limits and RST_STREAM rate limits at the load balancer
  • Restrict exposure of HTTP/2 endpoints to trusted networks until patched builds are deployed
bash
# Verify installed Go toolchain and update to a patched release
go version

# Scan a Go module or binary for known vulnerabilities including GO-2026-6612
go install golang.org/x/vuln/cmd/govulncheck@latest
govulncheck ./...
govulncheck -mode=binary /path/to/service-binary

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.