CVE-2026-69659
Memory exhaustion via unbounded deserialization of keyset pagination cursors in Ash.Page.Keyset
Description
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.
INFO
Published Date :
Aug. 9, 2026, 6:16 p.m.
Last Modified :
Aug. 9, 2026, 6:16 p.m.
Remotely Exploit :
No
Source :
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 4.0 | MEDIUM | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db | ||||
| CVSS 4.0 | MEDIUM | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db |
Solution
- Update ash to version 3.31.1 or later.
- Limit the size of deserialized terms.
- Sanitize or validate client-supplied pagination cursors.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-69659.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-69659 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-69659
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-69659 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-69659 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Aug. 09, 2026
Action Type Old Value New Value Added Affected [{'cpes': ['cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*'], 'repo': 'https://github.com/ash-project/ash', 'vendor': 'ash-project', 'modules': ["'Elixir.Ash.Page.Keyset'"], 'product': 'ash', 'versions': [{'status': 'affected', 'version': '1.17.0', 'lessThan': '3.31.1', 'versionType': 'semver'}], 'packageURL': 'pkg:hex/ash', 'packageName': 'ash', 'programFiles': ['lib/ash/page/keyset.ex'], 'collectionURL': 'https://repo.hex.pm', 'defaultStatus': 'unaffected', 'programRoutines': [{'name': "'Elixir.Ash.Page.Keyset':decode_values/2"}]}, {'cpes': ['cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*'], 'repo': 'https://github.com/ash-project/ash', 'vendor': 'ash-project', 'modules': ["'Elixir.Ash.Page.Keyset'"], 'product': 'ash', 'versions': [{'status': 'affected', 'version': 'f8fadc67e67c955bb68b3a8d642be13e2b7e8ca9', 'lessThan': '1816b103af975221210478d61db20adcea700319', 'versionType': 'git'}], 'packageURL': 'pkg:github/ash-project/ash', 'packageName': 'ash-project/ash', 'programFiles': ['lib/ash/page/keyset.ex'], 'collectionURL': 'https://github.com', 'defaultStatus': 'unaffected', 'programRoutines': [{'name': "'Elixir.Ash.Page.Keyset':decode_values/2"}]}] Added Description 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. Added CVSS V4.0 AV:L/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 Added CWE CWE-502 Added Reference https://cna.erlef.org/cves/CVE-2026-69659.html Added Reference https://github.com/ash-project/ash/commit/1816b103af975221210478d61db20adcea700319 Added Reference https://github.com/ash-project/ash/security/advisories/GHSA-j35q-v8h8-7mwq Added Reference https://osv.dev/vulnerability/EEF-CVE-2026-69659