CVE-2026-67579
Filter expression injection via forged keyset pagination cursor in Ash
Description
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.
INFO
Published Date :
Aug. 12, 2026, 8:17 p.m.
Last Modified :
Aug. 12, 2026, 8:52 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 | HIGH | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db | ||||
| CVSS 4.0 | HIGH | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db |
Solution
- Update the Ash library to version 3.31.3 or later.
- Ensure proper validation of all user-supplied input.
- Review data layer configurations for security.
- Apply necessary patches or security updates.
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-67579.
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-67579 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-67579
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-67579 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-67579 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. 12, 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.3', '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"}, {'name': "'Elixir.Ash.Page.Keyset':do_filters/4"}]}, {'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': '91874dd5435bc0ffebd8a254acfa573b39b74520', '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"}, {'name': "'Elixir.Ash.Page.Keyset':do_filters/4"}]}] Added Description 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. Added CVSS V4.0 AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/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-89 Added CWE CWE-502 Added Reference https://cna.erlef.org/cves/CVE-2026-67579.html Added Reference https://github.com/ash-project/ash/commit/91874dd5435bc0ffebd8a254acfa573b39b74520 Added Reference https://github.com/ash-project/ash/security/advisories/GHSA-3gq3-9xm3-c8v3 Added Reference https://osv.dev/vulnerability/EEF-CVE-2026-67579