Amenazas en vivo

Todas las CVE / Nextauth.js

CVE-2021-21310Nextauth.js Next-auth

Media 5.9 Sin autenticación

Prioridad
51
CVSS 3.1
5.9
EPSS
1.7%
probabilidad de explotación en 30 días · percentil 77
Requiere autenticación
No
Publicada
11 feb 2021
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-290
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Qué pasa

NextAuth.js (next-auth) is am open source authentication solution for Next.js applications. In next-auth before version 3.3.0 there is a token verification vulnerability. Implementations using the Prisma database adapter in conjunction with the Email provider are impacted. Implementations using the Email provider with the default database adapter are not impacted. Implementations using the Prisma database adapter but not using the Email provider are not impacted. The Prisma database adapter was checking the verification token, but was not verifying the email address associated with that token. This made it possible to use a valid token to sign in as another user when using the Prima adapter in conjunction with the Email provider. This issue is specific to the community supported Prisma adapter. This issue is fixed in version 3.3.0.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Next-auth.
  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
npm next-auth < 3.3.0 3.3.0 npm install next-auth@3.3.0

Según OSV / GitHub Advisories (GHSA-pg53-56cg-4m8q). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
nextauth.jsnext-auth< 3.3.0

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.