llamaCVEVulnerability Intelligence
/
better-auth

CVE-2026-110862

Better Auth 1.4.0-beta.18 before 1.7.7 Authentication Bypass via Magic Link

UnclearParche disponible
Descargar PNG JSON
CVSS 4.0
9.3
Crítica
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/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ónPrimer parche a -14 d de la divulgación
Exposición35 dDesde la divulgación, 14 oct 2026, 5:52 p. m.
Detección7 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCAtender
Priorizar en el próximo ciclo de cambios
Sin explotación conocida, automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche 1.7.7
Monitoreo
Detectada
Fuente: OSV
Verificada
30 sept 26
14 oct 26
15 oct 26
22 oct 26
24 oct 26
18 nov 26
19 nov 26
30 sept 26
13 oct 26
25 oct 26
7 nov 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 1.7.7 better-auth · -14 d desde divulgación
Divulgación Publicada CVE-2026-110862 divulgada · CVSS 9.3 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen

Better Auth from 1.4.0-beta.18 before 1.7.7 contains an authentication bypass vulnerability that allows unauthenticated attackers to sign in as other users by reusing OAuth state values as Magic Link tokens. Attackers can start an OAuth sign-in with a victim's email and submit the returned state to Magic Link verification, gaining sessions or creating falsely email-verified accounts.

Affects Better Auth from 1.4.0-beta.18 before 1.7.7 when the Magic Link plugin runs alongside a social or Generic OAuth provider. CVSS scores it 9.3 (critical); the vendor gives no separate rating. Fixed in 1.7.7.

¿Qué significa?An unauthenticated attacker who knows a user's email address can get a normal session for that user, with all of that account's permissions. If sign-up is enabled, the attacker can also create a falsely email-verified account and be signed in to it.
¿Quién está afectado?Versions from 1.4.0-beta.18 before 1.7.7. The setup must include the Magic Link plugin with storeToken left at the default "plain" (or set to "hashed" with global verification.storeIdentifier set to "hashed"), at least one built-in social provider or Generic OAuth provider enabled, and OAuth state stored in the database (account.storeStateStrategy "database", the default when a database or secondary storage is configured). Check the installed better-auth version in the package lockfile and review the auth configuration for these settings.
¿Qué hacer?Upgrade better-auth to version 1.7.7 or later. The facts name no vendor patch identifiers.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Magic Link plugin enabled with default storeToken "plain", or storeToken "hashed" with global verification.storeIdentifier "hashed"“Magic Link is enabled with default storeToken”
02
At least one built-in social provider or Generic OAuth provider is enabled“At least one built-in social provider or Generic OAuth provider is enabled.”
03
OAuth state stored in the database (account.storeStateStrategy "database"), the default when a database or secondary storage is configured“OAuth state uses account.storeStateStrategy”
¿Quién debe revisar?Teams running better-auth 1.4.0-beta.18 through versions before 1.7.7 with the Magic Link plugin and social or Generic OAuth sign-in
No protegeSetting disableSignUp: true on the Magic Link plugin is not enough.
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:N
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:H
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 Última
better-auth≥ 1.4.0-beta.18 < 1.7.7
1.4.0-beta.18
1.7.7
1.7.25
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmbetter-auth
Corregida 1.7.7 -14 d 1.7.25 no afectada
Versiones corregidas1.7.7
Explotación

Arsenal público

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

Referencias
Fabricantehttps://github.com/better-auth/better-auth/security/advisories/GHSA-965c-763c-88jm
Otrahttps://www.vulncheck.com/advisories/better-auth-1.4.0-beta.18-before-1.7.7-authentication-bypass-via-magic-link

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