CVE-2026-64645

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:*
cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:*

History

24 Oct 2026, 13:10

Type Values Removed Values Added
Summary
  • (es) Next.js es un framework de React para construir aplicaciones web full-stack. En las versiones 12.0.0 a 15.5.20 y 16.0.0 a 16.2.10, una regla de rewrites() o redirects() que construye su nombre de host de destino externo a partir de una entrada controlada por la petición puede ser apuntada a un nombre de host arbitrario, independientemente del sufijo del nombre de host de la regla. Para una reescritura, Next.js proxy la petición a ese host arbitrario y sirve la respuesta desde el origen de la aplicación, lo que lleva a una falsificación de petición del lado del servidor. Una regla de redirects() configurada de esta manera es vulnerable a una redirección abierta. Este problema ha sido solucionado en las versiones 15.5.21 y 16.2.11.

Information

Published : 2026-07-27 18:16

Updated : 2026-10-24 13:10


NVD link : CVE-2026-64645

Mitre link : CVE-2026-64645

CVE.ORG link : CVE-2026-64645


JSON object : View

Products Affected

vercel

  • next.js
CWE
CWE-601

URL Redirection to Untrusted Site ('Open Redirect')

CWE-918

Server-Side Request Forgery (SSRF)