CVE-2026-67579Filter expression injection via forged keyset pagination cursor in Ash
Deserialization of Untrusted Data vulnerability in ash-project ash allows an unauthenticated attacker to inject a filter expression through a forged keyset pagination cursor, resulting in SQL injection or code execution depending on the data layer. Read actions with keyset pagination decode the client-supplied page[:after] or page[:before] cursor in decode_values/2 in lib/ash/page/keyset.ex using non_executable_binary_to_term/2 with [:safe]. That guard blocks new atoms, funs, and ports, but not a struct built from atoms already interned in a running Ash application, so a decoded %Ash.Query.Call{} expression survives and is spliced into the keyset filter as a comparison value in do_filters/4 and evaluated. Because the cursor bypasses the Ash.Expr macro, the runtime never applies the private?/public? gate that would otherwise reject it. On AshPostgres the injected fragment is inlined into the SQL query; on the ETS and Simple data layers it is evaluated in-process as an arbitrary function call. This issue affects ash: from 1.17.0 before 3.31.3.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ash-project ash: affected: 1.17.0 to before 3.31.3; fixed in
3.31.3 - ash-project ash: affected: f8fadc67e67c955bb68b3a8d642be13e2b7e8ca9 to before 91874dd5435bc0ffebd8a254acfa573b39b74520; fixed in
91874dd5435bc0ffebd8a254acfa573b39b74520
Vendor advisories:
- https://github.com/ash-project/ash/security/advisories/GHSA-3gq3-9xm3-c8v3 (vendor-advisory)
- https://github.com/ash-project/ash/commit/91874dd5435bc0ffebd8a254acfa573b39b74520 (patch)
References
- https://github.com/ash-project/ash/security/advisories/GHSA-3gq3-9xm3-c8v3
- https://cna.erlef.org/cves/CVE-2026-67579.html
- https://osv.dev/vulnerability/EEF-CVE-2026-67579
- https://github.com/ash-project/ash/commit/f8fadc67e67c955bb68b3a8d642be13e2b7e8ca9
- https://github.com/ash-project/ash/commit/91874dd5435bc0ffebd8a254acfa573b39b74520
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.