CVE-2022-24858Nextauth.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.8% probabilidad de explotación en 30 días · percentil 54
- Requiere autenticación
- No
- Publicada
- 19 abr 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- 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
next-auth v3 users before version 3.29.2 are impacted. next-auth version 4 users before version 4.3.2 are also impacted. Upgrading to 3.29.2 or 4.3.2 will patch this vulnerability. If you are not able to upgrade for any reason, you can add a configuration to your callbacks option. If you already have a `redirect` callback, make sure that you match the incoming `url` origin against the `baseUrl`.
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.2 |
3.29.2 |
npm install next-auth@3.29.2 |
| npm | next-auth |
≥ 4.0.0 < 4.3.2 |
4.3.2 |
npm install next-auth@4.3.2 |
Según OSV / GitHub Advisories (GHSA-f9wg-5f46-cjmw). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| nextauth.js | next-auth | ≥ 3.0.0 < 3.29.2 |
| nextauth.js | next-auth | ≥ 4.0.0 < 4.3.2 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Mitigation Third Party Advisory
- next-auth.js.org Vendor Advisory
- next-auth.js.org Vendor Advisory