llamaCVEVulnerability Intelligence
/
ash

CVE-2026-67579

Filter expression injection via forged keyset pagination cursor in Ash

Specific setups onlyParche disponibleunsafe deserialization
Descargar PNG JSON
CVSS 4.0
7.5
Alta
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 Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión3.31.3
Exposición98 dDesde la divulgación, 12 ago 2026, 3:04 p. m.
Detección96 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC
Modificada
Explotación
Remediación
Monitoreo
Detectada
Verificada
12 ago 26
13 ago 26
17 nov 26
19 nov 26
12 ago 26
6 sept 26
1 oct 26
25 oct 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-67579 divulgada · CVSS 7.5 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Monitoreo Detectada Ingresó al índice
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen

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.

Affects Ash from 1.17.0 before 3.31.3 where a read action uses keyset pagination and passes client-supplied values as the :after or :before option. Fixed in 3.31.3.

¿Qué significa?A forged keyset pagination cursor can inject filter expressions into Ash queries. On AshPostgres this can read and modify arbitrary database contents, including private columns. On the ETS and Simple data layers it can lead to command execution as the server process.
¿Quién está afectado?Ash versions from 1.17.0 before 3.31.3 are affected, but only when a read action declares keyset? true in its pagination block and the application passes a client-supplied value as the :after or :before page option. To check the version, look up the ash entry in mix.lock or the version in mix.exs.
¿Qué hacer?Upgrade ash to 3.31.3 or later, which is the listed fixed version. Review keyset-paginated read actions that take :after or :before values from clients.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
A read action declares keyset? true in its pagination block.“A read action must declare keyset? true in its pagination block”
02
The application passes a client-supplied value as the :after or :before page option.“the application must pass a client-supplied value as the :after or :before page option”
03
Ash versions from 1.17.0 before 3.31.3 are affected.“This issue affects ash: from 1.17.0 before 3.31.3.”
¿Quién debe revisar?Teams running Ash (Elixir) from 1.17.0 before 3.31.3 with a read action that declares keyset? true pagination and passes client-supplied :after or :before values.
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:L
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:P
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:H
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
ash< 3.31.3
ash≥ 1.17.0 < 3.31.3
1.17.0
3.31.3
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
ash
Corregida 3.31.3 — —
Versiones corregidas3.31.3
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Registro
EscenarioGENERALEEF
configurationA 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.EEF
Referencias
Fabricantehttps://github.com/ash-project/ash/security/advisories/GHSA-3gq3-9xm3-c8v3
Parchehttps://github.com/ash-project/ash/commit/91874dd5435bc0ffebd8a254acfa573b39b74520
Otrahttps://cna.erlef.org/cves/CVE-2026-67579.html
Otrahttps://osv.dev/vulnerability/EEF-CVE-2026-67579
Otrahttps://github.com/ash-project/ash/commit/f8fadc67e67c955bb68b3a8d642be13e2b7e8ca9

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.