Unsafe Deserialization of Erlang Terms in hex_core
CVE-2026-21619Published 27 Feb 2026, 17:57 UTC
Real-world risk
0.5/ 10Low
Routine
If the vulnerable configuration applies to you: 1.1
PreliminaryFrom the CVSS vector only · confidence low
CVSS
2.0
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from EEF)
Uncontrolled Resource Consumption, Deserialization of Untrusted Data vulnerability in hexpm hex_core (hex_api modules), hexpm hex (mix_hex_api modules), erlang rebar3 (r3_hex_api modules) allows Object Injection, Excessive Allocation. This vulnerability is associated with program files src/hex_api.erl, src/mix_hex_api.erl, apps/rebar/src/vendored/r3_hex_api.erl and program routines hex_api:request/4, mix_hex_api:request/4, r3_hex_api:request/4. This issue affects rebar3: from 3.9.1 before 3.27.0; hex: from 2.3.0 before 2.3.2; hex_core: from 0.1.0 before 0.12.1.
Am I affected?
What to do
Update to a fixed version: 2.3.2, 0.12.1, 3.27.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.7% chance of exploitation in 30 days (percentile 56), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.189
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.189 × threat 0.850.482
- Rounded to one decimal between 0.1 and 100.5
Exploitation and evidence timeline
- 27 Feb 2026 Published
- 2 Dec 2026 Risk 0.5 (cvss fallback)
Weakness
CWE-400, CWE-502
References
- https://github.com/hexpm/hex_core/security/advisories/GHSA-hx9w-f2w9-9g96mitigation, related, vendor-advisory
- https://cna.erlef.org/cves/CVE-2026-21619.htmlrelated
- https://osv.dev/vulnerability/EEF-CVE-2026-21619related
- https://github.com/erlang/rebar3/commit/209c02ec57c2cc3207ee0174c3af3675b8dc8f79related
- https://github.com/erlang/rebar3/commit/1d4478f527e373de0b225951e53115450e0d9b9dpatch
- https://github.com/hexpm/hex/commit/314546ac432229518714cc8e3336e916b9da6305related
- https://github.com/hexpm/hex/commit/636739f3322514e9303ca335fb630696fcbb3c95patch
- https://github.com/hexpm/hex/commit/a9999e425d9c0f9fc8c53e7823eee898156c4d1apatch
- https://github.com/hexpm/hex_core/commit/eb327f8edfe45507351e38cc0805aa12fa647f0brelated
- https://github.com/hexpm/hex_core/commit/cdf726095bca85ad2549d146df1e831ae93c2b13patch
- CVE-2026-21619 on CVE.org