Server-Side Request Forgery and Open Redirect Vulnerabilities in Next.js Framework
CVE-2026-64645
8.3HIGH
What is CVE-2026-64645?
Next.js, a popular React framework for building full-stack web applications, contains vulnerabilities associated with certain rewrite() and redirects() rules in versions 12.0.0 through 15.5.20 and 16.0.0 through 16.2.10. These rules construct external destination hostnames from input that can be influenced by requests, enabling an attacker to redirect traffic to arbitrary hosts. This could result in Server-Side Request Forgery (SSRF) and Open Redirect attacks. Security patches have been implemented in versions 15.5.21 and 16.2.11 to mitigate these issues.
Affected Version(s)
next.js >= 12.0.0 < 15.5.21 < 12.0.0 15.5.21
next.js >= 16.0.0, < 16.2.11 < 16.0.0, 16.2.11