llamaCVEVulnerability Intelligence
/
ash

CVE-2026-70395

Predicate injection in manage_relationship belongs_to lookup discloses secret lookup keys in Ash

Parche disponiblequery injection
Descargar PNG JSON
CVSS 4.0
2.1
Baja
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión3.31.1
Exposición101 dDesde la divulgación, 9 ago 2026, 1:17 p. m.
Detección99 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, no automatizable e impacto técnico parcial. 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
9 ago 26
10 ago 26
17 nov 26
19 nov 26
9 ago 26
4 sept 26
29 sept 26
25 oct 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-70395 divulgada · CVSS 2.1 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Monitoreo Detectada Ingresó al índice
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen

Improper Neutralization of Special Elements in Data Query Logic vulnerability in ash-project ash allows an attacker to forge a relationship to a record they cannot name, and to recover the secret value used to look it up. When manage_relationship is used with on_lookup: :relate on a belongs_to relationship, the client-supplied lookup value is passed to Ash.Query.filter/2 without being cast to the attribute type. A nested map submitted where a scalar is expected is therefore interpreted as a filter predicate rather than a literal, so a lookup for a specific record becomes a query for any record matching a condition. The same path omits Ash.Query.limit(1), leaving Ash.read_one/2 able to distinguish no match from one match from several, which turns comparison predicates into an oracle for the lookup value. Authorization is unaffected; the destination read policy still applies. This issue affects ash: from 1.52.0-rc.11 before 3.31.1.

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:L
AltoBajoNinguno
Integridad (sistema)VI:L
AltoBajoNinguno
Disponib. (sistema)VA:N
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
ashtodas
ash≥ 1.52.0-rc.11 < 3.31.1
1.52.0-rc.11
3.31.1
Remediación

Estado del parche por paquete

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

Arsenal público

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

Registro
EscenarioGENERALEEF
configurationA belongs_to relationship must be managed with manage_relationship using on_lookup: :relate, and the lookup value must come from client input.EEF
Referencias
Fabricantehttps://github.com/ash-project/ash/security/advisories/GHSA-vvp6-3wv6-833j
Parchehttps://github.com/ash-project/ash/commit/09f42593035bceb0f6153dd7ee45cc49d108300a
Otrahttps://cna.erlef.org/cves/CVE-2026-70395.html
Otrahttps://osv.dev/vulnerability/EEF-CVE-2026-70395
Otrahttps://github.com/ash-project/ash/commit/571c138140e71cea24005189f45d7a63c8d2ed20

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