CVE-2022-29214Nextauth.js Next-auth
Media 6.1 Sin autenticación
Seguir: esta CVE · Nextauth.js · Nextauth.js Next-auth Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.7% probabilidad de explotación en 30 días · percentil 51
- Requiere autenticación
- No
- Publicada
- 21 may 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-601
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Qué pasa
NextAuth.js (next-auth) is am open source authentication solution for Next.js applications. Prior to versions 3.29.3 and 4.3.3, an open redirect vulnerability is present when the developer is implementing an OAuth 1 provider. Versions 3.29.3 and 4.3.3 contain a patch for this issue. The maintainers recommend adding a certain configuration to one's `callbacks` option as a workaround for those unable to upgrade.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Next-auth.
- 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 |
|---|---|---|---|---|
| npm | next-auth |
< 3.29.3 |
3.29.3 |
npm install next-auth@3.29.3 |
| npm | next-auth |
≥ 4.0.0 < 4.3.3 |
4.3.3 |
npm install next-auth@4.3.3 |
Según OSV / GitHub Advisories (GHSA-q2mx-j4x2-2h74). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| nextauth.js | next-auth | < 3.29.3 |
| nextauth.js | next-auth | ≥ 4.0.0 < 4.3.3 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Release Notes Third Party Advisory
- github.com Third Party Advisory