CVE-2026-88952team-alembic ash_authentication
Autenticación impropia en AshAuthentication permite suplantación de usuario
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-287
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · 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 contiene una vulnerabilidad de autenticación impropia que permite a un atacante iniciar sesión como otro usuario vinculando una identidad OAuth2 a una cuenta que no es suya. El fallo ocurre porque la validación de email no compara la dirección de correo del proveedor con la de la cuenta coincidente, solo verifica que el email esté verificado. Un atacante puede redirigir la recuperación de cuenta hacia su dirección de correo.
Ver el texto original de NVD (en inglés)
Improper Authentication vulnerability in team-alembic AshAuthentication allows an attacker to be signed in as another user by linking an OAuth2 identity to an account that is not theirs.
AshAuthentication.Strategy.OAuth2.UserResolver.resolve/3 matches an existing account using the register action's upsert_identity keys, then gates linking the incoming provider identity to it on email_trusted?/2, which reads only the provider's email_verified boolean and never compares the provider's email value with the matched account's email. That gate assumes the account was matched by its email field, so under any other upsert_identity it is vacuous and an attacker presenting their own verified email is attached to, and issued a session for, an account matched on some other attribute. The same unguarded gate applies in OAuth2.SignInPreparation on the registration_enabled? false path, where the account is matched by the sign-in action's read filter instead. The upsert also rewrites the matched account's email to the attacker's address, so later account recovery reaches the attacker rather than the owner.
This issue affects ash_authentication: from 4.14.0 before 4.15.0 and from 5.0.0-rc.10 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 5.0.0-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.14.0 < 4.15.0 |
4.15.0 |
— |
| Hex | ash_authentication |
≥ 5.0.0-rc.10 < 5.0.0-rc.14 |
5.0.0-rc.14 |
— |
Según OSV / GitHub Advisories (EEF-CVE-2026-88952). 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.