CVE-2026-85500team-alembic ash_authentication
Omisión de autenticación por debilidad primaria en AshAuthentication
Crítica 9.1 Sin autenticación
Seguir: esta CVE · team-alembic · team-alembic ash_authentication Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 70
- CVSS 4.0
- 9.1
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 17 sep 2026
- Actualizada
- 20 nov 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-305
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/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
Qué pasa
AshAuthentication permite que un usuario no confirmado obtenga una sesión, eludiendo el requisito obligatorio de confirmación por correo electrónico. La vulnerabilidad afecta a versiones 4.3.8 a 4.14.x y 5.0.0-rc.0 a 5.0.0-rc.13. Un atacante sin autenticación puede iniciar sesión sin confirmar su dirección de correo cuando se invocan acciones directamente o mediante capas API como AshGraphql o AshJsonApi.
Ver el texto original de NVD (en inglés)
Authentication Bypass by Primary Weakness vulnerability in team-alembic AshAuthentication allows an unconfirmed user to obtain a session, defeating a mandatory email confirmation requirement.
AshAuthentication.Strategy.Password.Actions.check_user/2 decides whether the attribute named by require_confirmed_with is set using a bare is_nil(Map.get(user, value)). When that attribute is not selected on the loaded record Map.get/2 returns %Ash.NotLoaded{}, and when a field policy denies it for the current actor it returns %Ash.ForbiddenField{}. Neither is nil, so the rejection branch is skipped and sign-i
require_confirmed_with is enforced in two places, and neither holds in every configuration. sign_in_with_token and register are checked only inside AshAuthentication.Strategy.Password.Actions, not on the action itself, so any caller that invokes the action directly skips the check. An API layer such as AshGraphql or AshJsonApi invokes the action directly, so this applies to the default configuration. Where a check does run it compares the confirmation attribute against nil. That attribute holds %Ash.NotLoaded{} or %Ash.ForbiddenField{} when it sets select_by_default?: false, when an API layer narrows the read's select, or when a field policy hides it from the sign-in actor. Neither struct is nil, so those configurations read every user as confirmed.
This issue affects ash_authentication: from 4.3.8 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14.
Qué hacer
Hay parche · versiones corregidas: 4.15.0, 5.0.0-rc.14
Actualiza ash_authentication a versión 4.15.0 o posterior, o a 5.0.0-rc.14 o posterior si usas la rama rc.
- Aplica la actualización de seguridad del fabricante para ash_authentication.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Hex | ash_authentication |
≥ 4.3.8 < 4.15.0 |
4.15.0 |
— |
| Hex | ash_authentication |
≥ 5.0.0-rc.0 < 5.0.0-rc.14 |
5.0.0-rc.14 |
— |
Según OSV / GitHub Advisories (EEF-CVE-2026-85500). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- team-alembic · ash_authentication
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.