CVE-2026-84445: gRPC-Go xDS servers: Denial of Service (DoS) via crash due to missing `:authority` and `Host` headers
A vulnerability exists in gRPC-Go servers configured with xds.NewGRPCServer() where a crafted request missing both :authority and Host headers can cause a server panic, resulting in a Denial of Service (DoS).
Servers built with xds.NewGRPCServer install an xDS routing interceptor on every RPC. This interceptor looks up the request’s :authority header to pick a virtual host. The HTTP/2 server transport previously accepted requests that had neither :authority nor Host. When this happened, the xDS routing interceptor attempted to access the first element of an empty slice of authorities, leading to an index out of bounds panic. Since the per-RPC goroutine does not recover from panics, the entire server process would terminate.
This panic occurs in the interceptor pipeline, meaning the transport credentials handshake (TLS, mTLS, or ALTS) and HTTP/2 connection establishment must complete successfully before the crafted request can reach this logic.
- Insecure/Standard TLS: If the server permits insecure (plaintext) connections or standard credentials (where client certs are not checked), any unauthenticated remote attacker can trigger the crash.
- mTLS / ALTS: If strict transport-level authentication is enforced at the network edge or transport layer (e.g., requiring a valid client certificate), the attacker must possess valid transport credentials to initiate the stream and trigger the panic.
References
- github.com/advisories/GHSA-2v4p-qf9q-27wj
- github.com/grpc/grpc-go/commit/3822494d8ea03b992c089fd2a195f041762fffb7
- github.com/grpc/grpc-go/commit/8668b69c167df908b6b3666dcbf40992b9e932a4
- github.com/grpc/grpc-go/commit/93e31b48545e2a8aaeb6e06b47fb249f94e6297f
- github.com/grpc/grpc-go/issues/9354
- github.com/grpc/grpc-go/pull/9365
- github.com/grpc/grpc-go/pull/9366
- github.com/grpc/grpc-go/pull/9367
- github.com/grpc/grpc-go/releases/tag/v1.82.2
- github.com/grpc/grpc-go/releases/tag/v1.83.2
- github.com/grpc/grpc-go/security/advisories/GHSA-2v4p-qf9q-27wj
- nvd.nist.gov/vuln/detail/CVE-2026-84445
Code Behaviors & Features
Detect and mitigate CVE-2026-84445 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 →