Server-Side Request Forgery (SSRF) in Next.js - CVE-2026-64645

 

Server-Side Request Forgery (SSRF) in Next.js - CVE-2026-64645

Published: July 22, 2026


Vulnerability identifier: #VU139028
CSH Severity: High
CVSS v4: 8.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:L/SI:N/SA:N]
CVE-ID: CVE-2026-64645
CWE-ID: CWE-918
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform server-side request forgery.

The vulnerability exists due to improper neutralization of user-controlled input in rewrites() and redirects() destination hostname handling when constructing an external destination hostname from request-controlled input. A remote attacker can send a specially crafted request to perform server-side request forgery.

For rewrite rules, the application proxies the request to the attacker-selected host and serves the response from the application's origin.


Affected software

Next.js
Event Processing

How to mitigate CVE-2026-64645

Install security update from vendor's website.

Next.js - addressed in versions 15.5.21, 16.2.11
Event Processing - update to 1.5.5

External References

Related Security Bulletins