llamaCVEVulnerability Intelligence
/
next.js

CVE-2026-64645

Next.js: Server-Side Request Forgery in rewrites via attacker-controlled destination hostname

Specific setups onlyParche disponible
Descargar PNG JSON
CVSS 4.0
8.3
Alta
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:L/SI:L/SA:N Fuente: CNA
6.1NVD · CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versionesPrimer parche a -6 d de la divulgación
Exposición115 dDesde la divulgación, 27 jul 2026, 12:37 p. m.
Detección98 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche 15.5.21 +1
Monitoreo
Detectada
Verificada
21 jul 26
27 jul 26
28 jul 26
3 nov 26
18 nov 26
20 nov 26
21 jul 26
21 ago 26
20 sept 26
20 oct 26
20 nov 26
FechaFaseEventoDetalle
Remediación Parche 15.5.21 next · -6 d desde divulgación
Remediación Parche 16.2.11 next · -6 d desde divulgación
Divulgación Publicada CVE-2026-64645 divulgada · CVSS 8.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 Verificada Última verificación contra las fuentes
Resumen

Next.js is a React framework for building full-stack web applications. In versions 12.0.0 through 15.5.20 and 16.0.0 through 16.2.10, a rewrites() or redirects() rule that builds its external destination hostname from request-controlled input can be pointed at an arbitrary hostname, regardless of the rule's hostname suffix. For a rewrite, Next.js proxies the request to that arbitrary host and serves the response from the application's origin, leading to Server-Side Request forgery. A redirects() rule configured this way is vulnerable to an Open Redirect. This issue has been fixed in versions 15.5.21 and 16.2.11.

Affects Next.js from 16.0.0 before 16.2.11 when a rewrites() or redirects() rule builds its external destination hostname from request input. Fixed in 16.2.11.

¿Qué significa?A rewrites() or redirects() rule can take its external destination hostname from request-controlled input, such as a dynamic segment in the hostname taken from the path or a has capture. For a rewrite, Next.js then proxies the request to that arbitrary host and serves the response from the application's origin, which is server-side request forgery. A redirects() rule set up this way becomes an open redirect.
¿Quién está afectado?Affected versions are Next.js 16.0.0 up to but not including 16.2.11. To check the installed version, run npx next --version or look at the next entry in package.json. Then review rewrites() and redirects() rules in next.config for external destinations whose hostname includes a dynamic segment or a has capture.
¿Qué hacer?Upgrade Next.js to 16.2.11 or later, which is the fixed version.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
A rewrites() or redirects() rule builds its external destination hostname from request-controlled input (a dynamic segment in the hostname, from the path or a has capture)“A rewrites() or redirects() rule that builds its external destination hostname from request-controlled input”
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · NVD
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:R
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:L
AltoBajoNinguno
IntegridadI:L
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
next≥ 12.0.0 < 15.5.21
next.js · next≥ 16.0.0 < 16.2.11
12.0.0
15.5.21
16.0.0
16.2.11
16.4.6
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmnext
Corregida 15.5.21, 16.2.11 -6 d · -6 d 16.4.6 no afectada
Versiones corregidas15.5.2116.2.11
Explotación

Arsenal público

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

Referencias
Fabricantehttps://github.com/vercel/next.js/security/advisories/GHSA-p9j2-gv94-2wf4
Otrahttps://github.com/vercel/next.js/commit/35f501357e9b0fe7c950b0d6aa8fcf5343f707e9
Otrahttps://github.com/vercel/next.js/commit/d3033266c6dff23f7be71e19341fe3a8c6e2c599
Otrahttps://github.com/vercel/next.js/releases/tag/v15.5.21
Otrahttps://github.com/vercel/next.js/releases/tag/v16.2.11

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