Skip to main content

Ash Framework EUVDEUVD-2026-54937

| CVE-2026-69659 MEDIUM
Deserialization of Untrusted Data (CWE-502)
2026-08-09 EEF
5.9
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

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

  1. Recon
    Identify Ash keyset pagination endpoint
  2. Delivery
    Craft compressed ETF bomb payload
  3. Exploit
    Base64-encode compressed Erlang term
  4. Install
    Submit as page[after] cursor parameter
  5. C2
    BEAM inflates payload allocating tens of MB
  6. Execute
    Send concurrent requests aggregating heap allocation
  7. Impact
    Node OOM crash terminates service

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

Exploitation requires that the targeted application uses Ash with at least one resource configured for keyset pagination (e.g., pagination keyset?: true in a read action definition). The paginated endpoint must be reachable by the attacker - on public APIs this requires no authentication (PR:N per the provided CVSS vector); on authenticated APIs the attacker needs valid credentials. No other special configuration is required: the vulnerability exists in Ash's default cursor decoder whenever keyset pagination is enabled. Limiting factors include: (1) keyset pagination must be explicitly configured by the developer - applications using only offset pagination are entirely unaffected; (2) the BEAM process scheduler may slow but not prevent memory growth, giving operators a brief observability window before node termination; (3) deployments with strict per-process memory limits via BEAM flags or OS cgroups may experience degradation rather than full crash, but are still impaired.

Impact

The primary risk signal is complete Erlang node availability loss: a single call to binary_to_term on a crafted cursor can allocate tens of megabytes, and concurrent requests aggregate allocations until OOM-kill or BEAM crash. The provided CVSS 4.0 score (5.9, AV:L) conflicts directly with the vulnerability description, which explicitly states cursors arrive via 'client-supplied page[:after] or page[:before]' on 'public paginated endpoints' - a network-accessible attack surface, not local. This appears to be a CNA scoring anomaly; the realistic attack vector is network (AV:N), which would raise the base score considerably. The absence of a CISA KEV listing and no reported external POC means active widespread exploitation is not confirmed; however, the Ash patch test suite itself demonstrates a working bomb payload, reducing uncertainty about exploitability. EPSS data was not provided. Realistic priority is high for any production deployment exposing Ash keyset pagination endpoints to untrusted or semi-trusted callers, and moderate for authenticated-only deployments.

Exploit ScenarioDerived

An unauthenticated attacker targeting a Phoenix application with a public paginated Ash resource constructs a 2-million-element integer list, serializes it with :erlang.term_to_binary([List.duplicate(0, 2_000_000)], [{:compressed, 9}]), base64-encodes the roughly 8 KB result, and submits it as the page[after] query parameter on any keyset-paginated read action. Each request inflates to tens of megabytes of BEAM heap; a small pool of concurrent connections exhausts available memory and crashes the Erlang node. No external exploit tool has been identified, but the Ash patch test suite includes a self-contained reproduction of this exact payload.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 09, 2026

Memory exhaustion via decompression bomb in Ash Framework's keyset pagination can terminate Erlang nodes running versions 1.17.0 through 3.31.0. The decode_values/2 function in lib/ash/page/keyset.ex deserializes client-supplied page[:after] or page[:before] cursors using :erlang.binary_to_term/2 without rejecting compressed Erlang external term format payloads or bounding the deserialized size, allowing a cursor of a few kilobytes on the wire to inflate to tens of megabytes of heap per request. No active exploitation (CISA KEV) has been identified, but the attack is mechanically trivial for any caller reaching a keyset-paginated endpoint, and the vendor patch test suite includes a working reproduction payload.

RemediationAI

Upgrade ash to version 3.31.1 or later; the fix is in commit 1816b103af975221210478d61db20adcea700319 (https://github.com/ash-project/ash/commit/1816b103af975221210478d61db20adcea700319) and the advisory is at https://github.com/ash-project/ash/security/advisories/GHSA-j35q-v8h8-7mwq. The patch adds two guards in check_keyset_size/2: compressed ETF payloads (tag byte 0x50) are unconditionally rejected before any inflation occurs, and uncompressed cursors are capped at 10 KiB by default (configurable via config :ash, max_keyset_byte_size: <bytes> in config/config.exs for deployments with unusually large sort values). If immediate upgrade is not possible, add a WAF or reverse-proxy rule to reject requests where page[after] or page[before] exceeds a few hundred bytes - legitimate cursors encoding a single record's sort values are always well below this threshold, so there is no functional impact on valid clients. Secondarily, rate-limit paginated endpoints per-IP or per-authenticated-user to slow aggregated allocation attacks; this reduces but does not eliminate risk.

Affected VersionsENISA

ash f8fadc67e67c955bb68b3a8d642be13e2b7e8ca9 <1816b103af975221210478d61db20adcea700319
ash 1.17.0 <3.31.1

Affected Packages

euvd ash fix: 3.31.1

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

Ash is a declarative resource framework for Elixir/Phoenix applications (CPE: cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*). Keyset pagination encodes cursors as base64 of :erlang.term_to_binary/1 output - the Erlang external term format (ETF). The vulnerable decode_values/2 path calls Base.decode64!/1 followed by non_executable_binary_to_term([:safe]), which maps to :erlang.binary_to_term(binary, [:safe]). The :safe flag prevents atom and function creation (guarding code execution) but does not prevent memory allocation from compressed ETF payloads. ETF tag 0x50 (decimal 80) signals a zlib-compressed payload that the BEAM runtime inflates transparently before materializing the term - a 2-million-element integer list compressed at level 9 arrives as roughly 8 KB on the wire and allocates tens of megabytes during deserialization. The root cause is CWE-502 (Deserialization of Untrusted Data): Ash's own encoder never produces compressed ETF, yet the decoder accepted a term shape its encoder never emits.

Know when Ash 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 5.9 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Cursor arrives via HTTP query parameter on network-accessible endpoints; no credentials required on public APIs; pure availability impact with no confidentiality or integrity effect.

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

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

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

DescriptionCVE.org

Uncontrolled Resource Consumption vulnerability in ash-project ash allows an attacker to exhaust the memory of the node via a crafted keyset pagination cursor.

Read actions with keyset pagination deserialize the client-supplied page[:after] or page[:before] cursor in decode_values/2 in lib/ash/page/keyset.ex, which base64-decodes the value and passes it to :erlang.binary_to_term/2 without bounding its size. The Erlang external term format supports zlib-compressed payloads, which the decoder inflates transparently, so a cursor of a few kilobytes can allocate tens of megabytes of heap in a single call. Ash itself only ever encodes cursors uncompressed, so the decoder accepts a term shape its encoder never produces. Concurrent requests aggregate these allocations and can terminate the node.

This issue affects ash: from 1.17.0 before 3.31.1.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Low
Elixir-specific framework, niche language ecosystem
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
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.

More in Ash

View all
CVE-2026-55736 MEDIUM POC
5.9 Jun 23

Private argument injection in the Ash Elixir framework (versions 3.0.0 through 3.29.2) allows end users to set action ar

CVE-2021-45688 CRITICAL
9.8 Dec 27

An issue was discovered in the ash crate before 0.33.1 for Rust. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2026-124283 HIGH
8.9 Nov 24

Unauthenticated attackers can turn a forged keyset pagination cursor into OS command execution or raw SQL injection in E

CVE-2026-94201 HIGH
8.2 Oct 05

Atom table exhaustion in the Ash framework (Elixir) allows an unauthenticated remote attacker to crash a BEAM node by su

CVE-2026-96581 HIGH
7.6 Oct 26

Cross-tenant record takeover in the Ash framework (Elixir) for versions 1.22.0 up to 3.37.2: when a resource uses attrib

CVE-2026-86338 MEDIUM
6.0 Sep 16

An authorization bypass in the Ash framework (Elixir) lets authenticated, lower-privileged actors recover values they ar

CVE-2026-101028 MEDIUM
6.0 Oct 09

Information disclosure in the Ash framework for Elixir (versions 2.6.0 up to but not including 3.34.6) lets an authentic

CVE-2026-114214 MEDIUM
6.0 Oct 25

An incorrect authorization flaw in the Elixir Ash framework (versions 3.24.0 up to but not including 3.37.1) lets an aut

CVE-2026-82738 MEDIUM
5.9 Sep 01

Persistent record-level denial of service in the ash Elixir resource framework (versions 3.6.3-3.32.1) lets any actor wh

CVE-2026-82737 MEDIUM
5.9 Sep 01

Integer overflow in Ash Framework's vector encoding corrupts stored vectors in any Elixir application using Ash versions

CVE-2026-82735 MEDIUM
5.9 Sep 01

CPU exhaustion in Ash Framework's string type constraint handler allows denial of service against Elixir applications th

CVE-2026-82752 MEDIUM
5.9 Sep 05

Unbounded string storage in Ash Framework versions 0.10.0 through 3.32.x allows unauthenticated attackers to bypass max_

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