Amenazas en vivo

Todas las CVE / team-alembic

CVE-2026-76949team-alembic ash_authentication

Omisión de autenticación por suplantación en ash_authentication

Crítica 9.1 Sin autenticación

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-290
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

Una vulnerabilidad en ash_authentication permite a un atacante que planta una cookie de "remember-me" en el navegador de una víctima reemplazar la sesión autenticada de la víctima con una de la cuenta del atacante. El problema ocurre porque la función sign_in_using_remember_me/3 no reautentica correctamente a usuarios ya autenticados, permitiendo que la cookie de remember-me sea honrada incluso cuando existe una sesión activa. Esto afecta las versiones 4.10.0 a 4.14.x y 5.0.0-rc.0 a 5.0.0-rc.13.

Ver el texto original de NVD (en inglés)

Authentication Bypass by Spoofing vulnerability in team-alembic ash_authentication allows an attacker who can plant a remember-me cookie in a victim's browser to replace that victim's authenticated session with one for the attacker's own account. AshAuthentication.Plug.Helpers.sign_in_using_remember_me/3 skips re-authenticating an already-signed-in visitor by checking the session for "<subject_name>_token", but store_in_session/2 writes that key only when require_token_presence_for_authentication? is enabled and otherwise writes the bare subject name. At the default setting the guard therefore reads a key that is never written, its already-signed-in branch is unreachable, and the remember-me sign-in runs on every request through the per-request browser pipeline plug. A planted remember-me cookie is consequently honoured even for a visitor holding a live authenticated session, so whatever the victim enters afterwards lands in data the attacker controls. The read path in authenticate_resource_from_session/4 selects the key correctly, so the guard and the reader disagree about which key holds the session. This issue affects ash_authentication: from 4.10.0 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14.

Texto de la fuente, sin modificar. NVD.

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 (rama 4.x) o 5.0.0-rc.14 o posterior (rama 5.x).

Aviso del fabricante · github.com ↗

  1. Aplica la actualización de seguridad del fabricante para ash_authentication.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
Hex ash_authentication ≥ 4.10.0 < 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-76949). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados

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.