CVE-2026-64645: Next.js: Server-Side Request Forgery in rewrites via attacker-controlled destination hostname
Vulnerability summary
CVE-2026-64645 is a high (CVSS 8.3) URL Redirection to Untrusted Site vulnerability in vercel next.js. EPSS estimates a 0.92% chance of exploitation in the next 30 days, higher than 61.6% of scored vulnerabilities.
Severe, CVSS 8.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 27-07-2026PublishedVulnerability first disclosed.
- 28-07-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · WolfiEcosystem advisory · calculated8.3HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:L/SI:L/SA:N
- OSV · NpmEcosystem advisory · calculated8.3HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:L/SI:L/SA:N
- OSV · ChainguardEcosystem advisory · calculated8.3HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:L/SI:L/SA:N
- NVDNIST8.3HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.92%
Chance of exploitation in the next 30 days
Percentile
62%
Versus all other CVEs
30-day change
Increase +0.51 pp
From 0.41% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-601URL Redirection to Untrusted SiteThe web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.
- CWE-918Server-Side Request ForgeryThe web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard14 products
- cadence-webAll versions (No fix recorded) | < 4.0.18-r0
- commercial-chainloop-frontendAll versions (No fix recorded)
- homepage< 1.13.2-r8 | < 1.13.2-r9
- jitsucom-jitsu-console< 2.11.0-r30
- keep-ui< 0.54.2-r1
Wolfi4 products
- jitsucom-jitsu-console< 2.11.0-r30
- langfuse-3< 3.224.1-r0
- langfuse-3-compat< 3.225.7-r6
- langfuse-3-worker< 3.224.1-r0
Npm1 product
- next≥ 12.0.0, < 15.5.21 | ≥ 16.0.0, < 16.2.11
Vercel1 product
- next.js≥ 12.0.0 < 15.5.21 (No fix recorded) | ≥ 12.0.0, < 15.5.21 | ≥ 16.0.0, < 16.2.11
4 vendors · 20 products
References
8 links- github.com/vercel/next.js/security/advisories/GHSA-p9j2-gv94-2wf4X Refsource CONFIRMAdvisoryWEBMitigationVendor Advisory
- github.com/vercel/next.js/commit/35f501357e9b0fe7c950b0d6aa8fcf5343f707e9X Refsource MISCFIXWEBPatch
- github.com/vercel/next.js/commit/d3033266c6dff23f7be71e19341fe3a8c6e2c599X Refsource MISCFIXWEBPatch
- github.com/vercel/next.jsPACKAGE