EEF-CVE-2026-69659
Memory exhaustion via unbounded deserialization of keyset pagination cursors in Ash.Page.Keyset
Quick fix
EEF-CVE-2026-69659 — ash: upgrade to the fixed version with the command below.
mix deps.update ashDetails
## Summary
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.
## Configurations
A read action must declare `keyset? true` in its `pagination` block, and the application must pass a client-supplied value as the `:after` or `:before` page option.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/ash-project/ash/security/advisories/GHSA-j35q-v8h8-7mwq[ADVISORY]
- https://cna.erlef.org/cves/CVE-2026-69659.html[WEB]
- https://github.com/ash-project/ash/commit/f8fadc67e67c955bb68b3a8d642be13e2b7e8ca9[WEB]
- https://github.com/ash-project/ash/commit/1816b103af975221210478d61db20adcea700319[FIX]
- https://hex.pm/packages/ash[PACKAGE]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:hex/ash"]}'