Skip to main content

elixir-grpc CVE-2026-48853

| EUVDEUVD-2026-37015 CRITICAL
Deserialization of Untrusted Data (CWE-502)
2026-06-15 EEF GHSA-grp7-v8xh-rj7h
9.2
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed Elixir gRPC endpoint
  2. Delivery
    Send request with Content-Type application/grpc+erlpack
  3. Exploit
    Trigger unsafe binary_to_term in Erlpack.decode/2
  4. Execution
    Inject crafted atoms or fun term
  5. Persist
    Exhaust atom table or apply attacker fun
  6. Impact
    Crash BEAM node or execute code as server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The target Elixir/Erlang gRPC server must have the GRPC.Codec.Erlpack codec registered so it accepts requests with Content-Type: application/grpc+erlpack - this is the AT:P attack requirement reflected in the CVSS 4.0 vector. No authentication, user interaction, or special privileges are needed (PR:N, UI:N), and the request is sent over the network (AV:N). The DoS via atom-table exhaustion works against any service exposing the erlpack codec, but the RCE path additionally requires that decoded terms reach a downstream call site that applies them (e.g., an :erlang.apply, an anonymous-function invocation, or a behaviour callback that treats the decoded value as a fun) - purely-passthrough handlers may only be exploitable for DoS.

Impact

The CVSS 4.0 base score of 9.2 reflects network attack vector, low complexity, no privileges, and high VC/VI/VA impact - but AT:P (Attack Requirements: Present) signals that the target must accept the erlpack content type, which is a real deployment-dependent gate. The DoS path via atom-table exhaustion is unconditional for any server registering this codec; the RCE path additionally requires that a decoded term reach an apply site, which is application-specific and less universally exploitable. No EPSS score, KEV listing, or public PoC was provided, and active exploitation has not been confirmed. The upstream patch and EEF advisory raise this above a theoretical issue: any Elixir gRPC service that has the Erlpack codec enabled (or registered by default) is a real priority, while pure-protobuf gRPC deployments are likely unaffected in practice.

Exploit ScenarioDerived

An unauthenticated attacker discovers an internet-exposed Elixir gRPC service and sends a single HTTP/2 request with Content-Type: application/grpc+erlpack carrying an Erlang External Term Format payload that encodes thousands of unique novel atoms, exhausting the BEAM atom table and crashing the node (DoS). For RCE, the attacker instead encodes a fun term that, when the application later applies the decoded value, executes shell commands as the gRPC server user. No public exploit code is identified at time of analysis, but the :erlang.binary_to_term/1 attack pattern is well-documented in the Erlang security community.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 15, 2026

Unsafe Erlang term deserialization in the elixir-grpc library (versions 0.4.0 through 1.0.0) allows unauthenticated remote attackers to crash the BEAM VM via atom-table exhaustion or achieve remote code execution by sending crafted gRPC payloads with Content-Type application/grpc+erlpack. The flaw lives in GRPC.Codec.Erlpack.decode/2, which calls :erlang.binary_to_term/1 without the :safe option, size bounds, or type guards. No public exploit is identified at time of analysis, but the upstream fix is published at commit 272a97a and a patched 1.0.0 release is available.

RemediationAI

Vendor-released patch: upgrade the elixir-grpc grpc Hex dependency to 1.0.0 or later, which contains the fix landed in commit 272a97a5ea1b46af1819f14a831fcf35fc91f992 (see https://github.com/elixir-grpc/grpc/commit/272a97a5ea1b46af1819f14a831fcf35fc91f992 and the advisory at https://github.com/elixir-grpc/grpc/security/advisories/GHSA-grp7-v8xh-rj7h). If immediate upgrade is not possible, remove or unregister the Erlpack codec from your gRPC server's accepted codecs so requests with Content-Type application/grpc+erlpack are rejected - the trade-off is that any legitimate internal clients relying on the erlpack wire format will break and must move to protobuf or JSON. As a network-layer compensating control, terminate gRPC behind a reverse proxy or service mesh that strips or rejects application/grpc+erlpack content types, accepting that this requires Layer-7 inspection and may add latency. Increasing the BEAM +t atom-table limit only delays the DoS and does nothing to mitigate the RCE path, so it is not a sufficient standalone mitigation.

Affected VersionsENISA

gRPC 0.4.0 <1.0.0
gRPC 25bcc569fe2cc4478531a6c546c923205fc751c9 <272a97a5ea1b46af1819f14a831fcf35fc91f992

Affected Packages

euvd grpc fix: 1.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The elixir-grpc project is an Elixir/Erlang implementation of gRPC that runs on the BEAM virtual machine. The vulnerable codec module lib/grpc/codec/erlpack.ex uses Erlang's External Term Format via :erlang.binary_to_term/1, a known-dangerous API documented by the Erlang Ecosystem Foundation (EEF) - the reporter here - as unsafe for untrusted input. Without the :safe atom, attackers can mint new atoms (BEAM's atom table is bounded, typically 1,048,576 entries, and atoms are never garbage-collected) or encode fun terms, pids, ports, and references. The root cause is CWE-502 (Deserialization of Untrusted Data), compounded by CWE-770 (Allocation of Resources Without Limits or Throttling). When a decoded fun term flows into any call site that applies it (e.g., :erlang.apply/2 or anonymous-function invocation), the attacker-controlled closure executes inside the gRPC server process.

Know when Grpc gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (EEF) PRIMARY 9.2 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.1 HIGH

Network-reachable and unauthenticated, but the server must register the erlpack codec and RCE requires a downstream apply site, justifying AC:H; full C/I/A impact on the BEAM node.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 9.8 CRITICAL

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Deserialization of Untrusted Data and Allocation of Resources Without Limits or Throttling vulnerabilities in elixir-grpc grpc allow unauthenticated attackers to crash the BEAM node via atom table exhaustion and, when a decoded term flows into a call site that invokes it, achieve remote code execution on the server.

'Elixir.GRPC.Codec.Erlpack':decode/2 (lib/grpc/codec/erlpack.ex) calls :erlang.binary_to_term/1 on the raw gRPC message body without the :safe option, no size bound, and no type guard. Any unauthenticated peer that sends a request with Content-Type: application/grpc+erlpack can send a crafted payload that mints arbitrary new atoms (which are never garbage-collected, exhausting the bounded atom table and crashing the VM) or that encodes a fun term which, if applied anywhere downstream, executes attacker-controlled code inside the server process.

This issue affects grpc from 0.4.0 before 1.0.0.

Executive ViewAI

Why It Matters

The elixir-grpc library (versions 0.4.0-1.0.0) contains a critical deserialization vulnerability in its gRPC protocol handler that enables unauthenticated remote attackers to crash applications or achieve remote code execution. Organizations running vulnerable versions in production face material risk of service disruption and infrastructure compromise without authentication barriers. No public exploit identified at time of analysis, but the attack surface is substantial for any deployment with external gRPC exposure.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 57% exploitable
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Social Media
3
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

67
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Grpc

View all
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2017-8359 CRITICAL POC
9.8 Apr 30

Google gRPC before 2017-03-29 has an out-of-bounds write caused by a heap-based use-after-free related to the grpc_call_

CVE-2026-84304 HIGH POC
8.7 Sep 01

Memory exhaustion in gRPC-Go before version 1.83.1 allows an unauthenticated remote attacker to crash any service built

CVE-2026-53430 HIGH POC
8.7 Jun 15

Denial of service in the elixir-grpc library (versions 0.4.0 through 0.x) allows unauthenticated remote attackers to cra

CVE-2026-48854 HIGH POC
8.7 Jun 15

Unauthenticated denial of service in the elixir-grpc library (versions 0.3.1 up to but not including 1.0.0) allows a sin

CVE-2026-48599 HIGH POC
7.6 Jun 15

Authorization bypass in elixir-grpc (grpc library for Elixir) versions 0.8.0 through 0.x allows authenticated attackers

CVE-2026-101914 MEDIUM POC
6.5 Sep 28

Authorization bypass in the @grpc/grpc-js-xds package (the xDS/RBAC extension for @grpc/grpc-js) lets a request for one

CVE-2024-7246 MEDIUM POC
6.3 Aug 06

It's possible for a gRPC client communicating with a HTTP/2 proxy to poison the HPACK table between the proxy and the ba

CVE-2017-7860 CRITICAL
9.8 Apr 14

Google gRPC before 2017-02-22 has an out-of-bounds write caused by a heap-based buffer overflow related to the parse_uni

CVE-2017-7861 CRITICAL
9.8 Apr 14

Google gRPC before 2017-02-22 has an out-of-bounds write related to the gpr_free function in core/lib/support/alloc.c. R

CVE-2017-9431 CRITICAL
9.8 Jun 05

Google gRPC before 2017-04-05 has an out-of-bounds write caused by a heap-based buffer overflow related to core/lib/iomg

CVE-2020-7768 CRITICAL
9.8 Nov 11

The package grpc before 1.24.4; the package @grpc/grpc-js before 1.1.8 are vulnerable to Prototype Pollution via loadPac

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy