Elixir-grpc vulnerabilities
In the last 30 days, 5 Elixir-grpc vulnerabilities were published: 0 critical, 0 actively exploited. Most common weakness: CWE-770.
CVSS score: 8.2 Severity: High Identifier: CVE-2026-124279 Streaming request body limit enforced only after an 8 MB read in elixir-grpc grpc_server Package: grpc server fixed in b1e771d558941b1ed4b6de8b39f6a5375543db01 (+1 branch) Published Published
Allocation of Resources Without Limits or Throttling vulnerability in elixir-grpc grpc_server allows unauthenticated attackers to exhaust server memory via client-streaming or bidirectional-streaming requests.
The streaming read clause of GRPC.Server.Adapters.Cowboy.Handler.info/3 (grpc_server/lib/grpc/server/adapters/cowboy/handler.ex) asks Cowboy for up to 8,000,000 bytes per read and compares the running total with max_body_size only after the read returns. The gRPC length prefix of a message is not checked before the message is buffered. Each stream can therefore buffer up to one full read beyond the configured limit before it is refused, and many concurrent streams exhaust node memory. Releases before 1.0.6 apply no limit to streaming requests at all.
This issue affects grpc_server: from 1.0.0 before 1.1.0.
- Exploitation
- No known exploitation
- EPSS
- 0.55% chance of exploitation in the next 30 days, higher than 39.4% of CVEs
- CVSS
- 8.2 out of 10 · source NVD (6b3ad84c-e1a6-4bf7-a703-f496b71e49db)
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Versions
- 49e18c3ec6bb9afe2f712caad3dbab5c56a68a00 → <b1e771d558941b1ed4b6de8b39f6a5375543db01 · fixed in b1e771d558941b1ed4b6de8b39f6a5375543db01 (and 1 older branch)
- Weakness
- CWE-770
- Sources
- CVE.org · NVD · EPSS
- Dates
- published Nov 13, 2026 · first seen here 4 h ago
CVSS score: 8.2 Severity: High Identifier: CVE-2026-121809 CPU exhaustion via a truncated gRPC message on streaming RPCs in elixir-grpc grpc_server Package: grpc server fixed in 38955f1392cbf08eef231a347348445410455c85 (+1 branch) Published Published
Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in elixir-grpc grpc_server and grpc allows unauthenticated attackers to occupy a BEAM scheduler indefinitely via a client-streaming or bidirectional-streaming request whose body ends inside a gRPC message.
GRPC.Server.Adapters.Cowboy.read_stream/1 (grpc_server/lib/grpc/server/adapters/cowboy.ex, and the Cowboy adapter in grpc before the package split) asks for more data whenever the buffer does not hold a complete message. Once the request body has ended, every further read returns an empty chunk, so the buffer never changes and the function retries without end. A single 5-byte length prefix sent with END_STREAM keeps one scheduler busy for as long as the connection stays open, and repeated requests exhaust all schedulers.
This issue affects grpc: from 0.3.1 before 1.0.0; grpc_server: from 1.0.0 before 1.1.0.
- Exploitation
- No known exploitation
- EPSS
- 0.59% chance of exploitation in the next 30 days, higher than 42.4% of CVEs
- CVSS
- 8.2 out of 10 · source NVD (6b3ad84c-e1a6-4bf7-a703-f496b71e49db)
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Versions
- 0332faae5f5e132314794dbfdae5edecbccea292 → <38955f1392cbf08eef231a347348445410455c85 · fixed in 38955f1392cbf08eef231a347348445410455c85 (and 1 older branch)
- Weakness
- CWE-400, CWE-835
- Sources
- CVE.org · NVD · EPSS
- Dates
- published Nov 13, 2026 · first seen here 4 h ago
CVSS score: 8.2 Severity: High Identifier: CVE-2026-121808 Memory exhaustion via compressed Erlang terms in the elixir-grpc Erlpack codec Package: grpc core fixed in d6bc56ac75dfb6c02db2099909210a37c9be8db6 (+1 branch) Published Published
Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in elixir-grpc grpc_core and grpc allows unauthenticated attackers to exhaust server memory via a compressed Erlang external term in a gRPC message body.
GRPC.Codec.Erlpack.decode/2 (grpc_core/lib/grpc/codec/erlpack.ex, and lib/grpc/codec/erlpack.ex before the package split) passes the message body to :erlang.binary_to_term/2. That function inflates a compressed term in full before it returns. The codec sets no limit on the decoded size, and its type checks run only on the decoded term. The server's max_body_size limit counts the compressed bytes of the request. A request with Content-Type: application/grpc+erlpack can therefore make the server allocate a term much larger than the request body.
This issue affects grpc: from 0.4.0 before 1.0.0; grpc_core: from 1.0.0 before 1.1.0.
- Exploitation
- No known exploitation
- EPSS
- 0.59% chance of exploitation in the next 30 days, higher than 42.4% of CVEs
- CVSS
- 8.2 out of 10 · source NVD (6b3ad84c-e1a6-4bf7-a703-f496b71e49db)
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Versions
- 0332faae5f5e132314794dbfdae5edecbccea292 → <d6bc56ac75dfb6c02db2099909210a37c9be8db6 · fixed in d6bc56ac75dfb6c02db2099909210a37c9be8db6 (and 1 older branch)
- Weakness
- CWE-409
- Sources
- CVE.org · NVD · EPSS
- Dates
- published Nov 13, 2026 · first seen here 4 h ago
CVSS score: 7.6 Severity: High Identifier: CVE-2026-124278 Path bindings ignored for gRPC Content-Types on transcoded routes in elixir-grpc grpc_server Package: grpc server fixed in 953ab980d8a127e895d3ab9505fc4b9337bb32f7 (+1 branch) Published Published
Authorization Bypass Through User-Controlled Key vulnerability in elixir-grpc grpc_server and grpc allows an attacker to make a handler act on a resource other than the one named in the URL of an HTTP-transcoded route, via a request with a gRPC Content-Type.
Only the transcoding clause of GRPC.Server.do_handle_request/4 (grpc_server/lib/grpc/server.ex, and lib/grpc/server.ex before the package split) applies the route's path bindings to the request message. The Cowboy handler picks that clause from the request Content-Type, not from the route. A request to a transcoded URL with application/grpc or application/grpc-web is decoded from the body alone, so every path-bound field takes its value from the body. A gateway, proxy rule or WAF that authorizes on the URL path sees one resource while the handler receives another.
This issue affects grpc: from 0.8.0 before 1.0.0; grpc_server: from 1.0.0 before 1.1.0.
- Exploitation
- No known exploitation
- EPSS
- 0.54% chance of exploitation in the next 30 days, higher than 38.9% of CVEs
- CVSS
- 7.6 out of 10 · source NVD (6b3ad84c-e1a6-4bf7-a703-f496b71e49db)
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Versions
- 0332faae5f5e132314794dbfdae5edecbccea292 → <953ab980d8a127e895d3ab9505fc4b9337bb32f7 · fixed in 953ab980d8a127e895d3ab9505fc4b9337bb32f7 (and 1 older branch)
- Weakness
- CWE-436, CWE-639
- Sources
- CVE.org · NVD · EPSS
- Dates
- published Nov 13, 2026 · first seen here 4 h ago
CVSS score: 6.3 Severity: Medium Identifier: CVE-2026-123635 Refused calls drain the HTTP/2 connection flow-control window in elixir-grpc grpc_server Package: grpc server fixed in 61a71948e6e7b95efb27d48e7084c764503cc802 (+1 branch) Published Published
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.
- Exploitation
- No known exploitation
- EPSS
- 0.52% chance of exploitation in the next 30 days, higher than 37.8% of CVEs
- CVSS
- 6.3 out of 10 · source NVD (6b3ad84c-e1a6-4bf7-a703-f496b71e49db)
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Versions
- 0332faae5f5e132314794dbfdae5edecbccea292 → <61a71948e6e7b95efb27d48e7084c764503cc802 · fixed in 61a71948e6e7b95efb27d48e7084c764503cc802 (and 1 older branch)
- Weakness
- CWE-772
- Sources
- CVE.org · NVD · EPSS
- Dates
- published Nov 13, 2026 · first seen here 4 h ago