{"id":"CVE-2026-67579","aliases":["CVE-2026-67579","EEF-CVE-2026-67579","GHSA-3gq3-9xm3-c8v3"],"related":[],"kind":"vulnerability","state":"published","title":"Filter expression injection via forged keyset pagination cursor in Ash","summary":"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.\n\nRead 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.\n\nThis issue affects ash: from 1.17.0 before 3.31.3.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nRead 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.\n\nThis issue affects ash: from 1.17.0 before 3.31.3.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nDeserialization 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.\n\nRead 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.\n\nThis issue affects ash: from 1.17.0 before 3.31.3.\n\n## Configurations\n\nA 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. The severity of a successful attack depends on the data layer: AshPostgres yields SQL injection, while the ETS and Simple data layers evaluate the injected expression in-process.","format":"markdown","source":"eef"},{"lang":"es","text":"Vulnerabilidad de deserialización de datos no confiables en ash-project ash permite a un atacante no autenticado inyectar una expresión de filtro a través de un cursor de paginación de conjunto de claves falsificado, resultando en inyección SQL o ejecución de código dependiendo de la capa de datos.\n\nLas acciones de lectura con paginación de conjunto de claves decodifican el cursor page[:after] o page[:before] suministrado por el cliente en decode_values/2 en lib/ash/page/keyset.ex usando non_executable_binary_to_term/2 con [:safe]. Esa protección bloquea nuevos átomos, funciones y puertos, pero no una estructura construida a partir de átomos ya internados en una aplicación Ash en ejecución, por lo que una expresión %Ash.Query.Call{} decodificada sobrevive y se inserta en el filtro del conjunto de claves como un valor de comparación en do_filters/4 y se evalúa. Debido a que el cursor omite la macro Ash.Expr, el tiempo de ejecución nunca aplica la puerta private?/public? que de otro modo lo rechazaría. En AshPostgres, el fragmento inyectado se inserta en la consulta SQL; en las capas de datos ETS y Simple se evalúa en el proceso como una llamada a función arbitraria.\n\nEste problema afecta a ash: desde 1.17.0 antes de 3.31.3.","source":"nvd"}],"published":"2026-08-12T20:04:42.256Z","modified":"2026-11-25T06:31:00.392Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.5,"rating":"HIGH"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":7.4,"rating":"HIGH"}],"cwes":["CWE-89","CWE-502"],"affected":[{"ranges":[{"type":"semver","introduced":"1.17.0","fixed":"3.31.3","status":"affected"}],"vendor":"ash-project","product":"ash","package":"ash","cpe":"cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash","source":"cvelist"},{"ranges":[{"type":"git","introduced":"f8fadc67e67c955bb68b3a8d642be13e2b7e8ca9","fixed":"91874dd5435bc0ffebd8a254acfa573b39b74520","status":"affected"}],"vendor":"ash-project","product":"ash","package":"ash-project/ash","cpe":"cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.17.0","status":"affected","fixed":"3.31.3"}],"ecosystem":"Hex","package":"ash","purl":"pkg:hex/ash","source":"eef"},{"ranges":[{"type":"git","introduced":"f8fadc67e67c955bb68b3a8d642be13e2b7e8ca9","status":"affected","fixed":"91874dd5435bc0ffebd8a254acfa573b39b74520"}],"repo":"https://github.com/ash-project/ash","source":"eef"},{"ranges":[{"status":"affected","introduced":"1.17.0","fixed":"3.31.3"}],"vendor":"ash-hq","product":"ash_framework","cpe":"cpe:2.3:a:ash-hq:ash_framework:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/ash-project/ash/security/advisories/GHSA-3gq3-9xm3-c8v3","tags":["advisory","exploit","patch","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-67579.html","tags":["patch","related","third-party-advisory","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-67579","tags":["patch","related","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ash-project/ash/commit/f8fadc67e67c955bb68b3a8d642be13e2b7e8ca9","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/ash-project/ash/commit/91874dd5435bc0ffebd8a254acfa573b39b74520","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://hex.pm/packages/ash","tags":["package"],"sources":["eef"]}],"credits":["Jisung Chae","Jonatan Männchen / EEF","Zach Daniel"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-08-13T12:43:59.286Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-67579","url":"https://www.cve.org/CVERecord?id=CVE-2026-67579","licence":"CVE Terms of Use","modified":"2026-11-19T08:44:18.758Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-67579","url":"https://osv.dev/vulnerability/EEF-CVE-2026-67579","licence":"CC-BY-4.0","modified":"2026-11-25T06:31:00.392Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-67579","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-67579","licence":"Public domain","modified":"2026-11-19T09:17:52.090Z"}],"updatedAt":"2026-11-25T22:59:32.625Z","epss":{"score":0.00631,"percentile":0.51554,"date":"2026-12-01T12:00:22.000Z"}}