SEVERITY NOT PROVIDED · CVSS 4.0 EPSS 0.5% · 41th percentile CWE-772

CVE-2026-123635: Refused calls drain the HTTP/2 connection flow-control window in elixir-grpc grpc_server

Published 2026-11-13 · Updated 2026-11-25 · Also known as EEF-CVE-2026-123635, GHSA-7x9q-vvph-rjcr

Summary

A resource management flaw in the elixir-grpc grpc_server allows clients to exhaust the HTTP/2 connection flow-control window via refused calls with in-flight data. Maintainers and developers using vulnerable versions should upgrade their software immediately.

Who is affected

Affected deployments include applications using elixir-grpc grpc_server version 1.0.0 up to 1.1.0. To trigger the flaw, a client must make calls that are refused by the server while DATA frames remain in flight, causing shared HTTP/2 connections to stall subsequent calls until their deadlines expire.

Exploitability

The vulnerability can be exploited over a network with low complexity, requiring partial attack conditions and no privileges or user interaction. It has an EPSS score of 0.005 and is not currently listed as a CISA Known Exploited Vulnerability.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-25. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
Hex grpc_server >= 1.0.0, < 1.1.0 1.1.0 mix deps.update grpc_server

CVSS 4.0 vector

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Attack vectorNetwork
Attack complexityLow
Attack requirementsPresent
Privileges requiredNone
User interactionNone
Confidentiality (vulnerable system)None
Integrity (vulnerable system)None
Availability (vulnerable system)Low
Confidentiality (subsequent systems)None
Integrity (subsequent systems)None
Availability (subsequent systems)None

Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.

FAQ

What causes the connection flow-control window to drain?

When the server refuses a call early, Cowboy drops remaining in-flight DATA frames without running the stream handler, meaning flow is never requested and connection-level WINDOW_UPDATE frames are not sent.

Are connections other than the shared HTTP/2 connection affected?

No, other connections are not affected, and new connections continue to work normally.

Which versions of grpc_server are vulnerable?

Versions introduced from 1.0.0 up to, but not including, 1.1.0 are affected.

Original advisory description
## Summary Missing Release of Resource after Effective Lifetime vulnerability in elixir-grpc grpc_server allows a client to stall all later calls on a shared HTTP/2 connection via calls that the server refuses while their DATA frames are in flight. The stream handler `grpc_stream_h` (`grpc_server/src/grpc_stream_h.erl`) requests flow from Cowboy only for request data that has arrived. When the server refuses a call early, for example because the body exceeds `max_body_size` or the method is not implemented, Cowboy drops the DATA frames still in flight for that stream. Their bytes are not returned to the connection flow-control window. After enough refused calls the window is empty. No call on that connection can then send a request body, and each call waits until its deadline. Other connections are not affected. This issue affects grpc_server: from 1.0.0 before 1.1.0. ## Details **1. Flow is requested only for data that arrived** Cowboy increases the HTTP/2 connection window only when a stream handler returns a `{flow, N}` command. `grpc_stream_h` returns that command only for request data it has received. **2. A refused call leaves data uncredited** When the server refuses a call, the stream stops. The client can still have DATA frames in flight for it. Cowboy drops those frames without running the handler, so no flow is requested for their bytes and no connection-level `WINDOW_UPDATE` is sent. **3. The window empties** Each refused call with DATA in flight reduces the connection window for good. With the default 65,535-byte window, the window was empty after two refused calls in a test against v1.0.6. An empty window stops all request data, so no handler requests flow again and the window stays empty. **4. Result** Every later call on the connection that has a request body waits until its deadline. A new connection works normally. ## Proof of concept 1. Start a gRPC server with a small `max_body_size`, for example 1000 bytes. 2. Open one HTTP/2 connection with a client that tracks the connection window. 3. Send a unary call with a body above the limit and wait for the `RESOURCE_EXHAUSTED` reply. 4. Send more DATA frames on the refused stream, up to what the stream and connection windows allow. 5. Repeat steps 3 and 4 on new streams until the connection window is 0. 6. Send a small valid unary call on the same connection. Observe that its body cannot be sent and that the call ends at its deadline. ## Impact A client whose calls share an HTTP/2 connection with other callers can make all later calls on that connection wait until their deadlines. Calls on other connections are served normally. ## Workarounds Put a Cowboy stream handler in front of `grpc_stream_h` with the adapter option `stream_handlers: [MyHandler, :grpc_stream_h]`. In `init/3`, the handler calls `:cowboy_stream.init/3` and adds a `{:flow, size}` command when the request has a body, where `size` is Cowboy's `max_frame_size_received` (16384 by default). It passes all other callbacks to `:cowboy_stream`. ## Configurations Calls from more than one caller must share one HTTP/2 connection to the server, for example through a proxy or a shared client channel.

References

Source records: EEF-CVE-2026-123635 (OSV.dev) · EPSS by FIRST, 2026-11-25.