llamaCVEVulnerability Intelligence
/
ash

CVE-2026-94201

Filtering an :atom attribute with unsafe_to_atom? can exhaust the BEAM atom table in Ash

Default setupsParche disponibledenial of service
Descargar PNG JSON
CVSS 4.0
8.2
Alta
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión3.34.3
Exposición44 dDesde la divulgación, 5 oct 2026, 2:19 p. m.
Detección17 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
Fuente: OSV
Verificada
5 oct 26
6 oct 26
22 oct 26
24 oct 26
19 nov 26
5 oct 26
16 oct 26
28 oct 26
8 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-94201 divulgada · CVSS 8.2 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen

Ash stores :atom-typed attributes as strings and compares them as strings. When such an attribute is referenced in a filter, the comparison value is coerced through Ash.Type.Atom. Because the type defined no coerce/2 callback, coercion fell back to the default (cast_input/2), which calls String.to_atom/1 when the attribute is configured with the unsafe_to_atom?: true constraint. Filtering such an attribute with attacker-controlled strings therefore interned a new, permanent atom for every distinct value. Atoms are never garbage collected and the BEAM caps the atom table, so an actor who can supply filter values for a public, filterable :atom attribute declared with unsafe_to_atom?: true can exhaust the atom table and crash the node (denial of service). AshPaperTrail is a notable example: its version resources expose a public, filterable version_action_name atom attribute with unsafe_to_atom?: true by default. The fix adds a coerce/2 to Ash.Type.Atom that never interns atoms — a comparison value is left as a string, since the type is stored and compared as a string. Setting the attribute from action input (cast_input/2, which still honors unsafe_to_atom?) is unchanged. This issue affects ash: from 3.5.1 before 3.34.3.

Only affects ash from 3.5.1 before 3.34.3, and only apps exposing a public, filterable :atom attribute declared with unsafe_to_atom?: true. Fixed in 3.34.3.

¿Qué significa?Filtering on an :atom attribute declared with unsafe_to_atom?: true can create new atoms without limit, exhausting the BEAM atom table and crashing the node, which causes denial of service.
¿Quién está afectado?Affects the ash package from 3.5.1 before 3.34.3, and only applications that expose a public, filterable :atom attribute declared with the unsafe_to_atom?: true constraint and let an actor supply filter values for it, such as through AshGraphql, AshJsonApi, or Ash.Query.filter_input/2. To check, look at the ash version in your mix.lock or deps and search your resources for unsafe_to_atom?: true.
¿Qué hacer?Upgrade ash to 3.34.3 or later, which is the fixed version listed for this vulnerability.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Affects ash from 3.5.1 before 3.34.3.“This issue affects ash: from 3.5.1 before 3.34.3.”
02
The application exposes a public, filterable :atom attribute declared with the unsafe_to_atom?: true constraint.“Reachable only when an application exposes a public, filterable :atom attribute declared with the unsafe_to_atom?: true constraint”
03
An actor can supply filter values for that attribute (for example through AshGraphql, AshJsonApi, or Ash.Query.filter_input/2).“and an actor can supply filter values for it”
¿Quién debe revisar?Teams running ash (Hex) from 3.5.1 before 3.34.3 that expose a public, filterable :atom attribute with unsafe_to_atom?: true, such as AshPaperTrail version resources.
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:P
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:N
AltoBajoNinguno
Integridad (sistema)VI:N
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.5.1 < 3.34.3
3.5.1
3.34.3
Remediación

Estado del parche por paquete

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

Arsenal público

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

Registro
EscenarioGENERALEEF
configurationReachable only when an application exposes a public, filterable :atom attribute declared with the unsafe_to_atom?: true constraint, and an actor can supply filter values for it (for example through AshGraphql, AshJsonApi, or Ash.Query.filter_input/2). AshPaperTrail's version resources ship such an attribute (version_action_name) by default.EEF
Referencias
Parchehttps://github.com/ash-project/ash/commit/5282f3f513053628cdd1bf2236ea22d975d934d4
Otrahttps://cna.erlef.org/cves/CVE-2026-94201.html
Otrahttps://osv.dev/vulnerability/EEF-CVE-2026-94201
Otrahttps://github.com/ash-project/ash/commit/2970ba3bd5d36d6ad04c731ac87385375d457147

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