CVE-2026-64645 is a high-severity vulnerability in Next.js affecting versions 12.0.0 through 15.5.20 and 16.0.0 through 16.2.10. The flaw occurs when a rewrites() or redirects() rule constructs an external destination hostname from request-controlled input. In this configuration, an attacker can cause the computed destination to resolve to an arbitrary hostname even when the rule appears to constrain the hostname with a suffix. For rewrites(), Next.js proxies the request to the attacker-selected host and returns the upstream response from the application’s origin, creating a server-side request forgery condition. For redirects(), the same unsafe pattern results in an open redirect. The issue is rooted in insufficient restriction of externally routed destinations derived from untrusted input.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A Next.js vulnerability in improperly configured rewrites() or redirects() rules that can allow arbitrary-host SSRF or open redirect when the external destination hostname is built from request-controlled input.
A high-severity SSRF vulnerability in Next.js rewrites/redirects handling that can force the server to send requests to arbitrary internal endpoints when destination hostnames are built from user-supplied request data.
A Next.js vulnerability in rewrites and redirects that can enable server-side request forgery by allowing attacker-controlled input to influence the external destination hostname.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.