vercel · Next.js · published 2026-07-27
CVE-2026-64645Next.js: Server-Side Request Forgery in rewrites via attacker-controlled destination hostname
Routine No exploitation evidence; EPSS 0.5%.
CVE-2026-64645 is not known to be exploited in the wild. EPSS estimates a 0.5% chance of exploitation in the next 30 days, higher than 40% of all CVEs. This Next.js vulnerability: CVSS 8.3 (v4.0). Fixed upstream in Next.js 16.2.11, 15.5.21. Routine: patch when convenient.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
Fixed upstream in Next.js 16.2.11, 15.5.21.
Patch events
Web frameworkNext.js
Next.js security releases: 16.2.11, 15.5.21
Upgrade to
16.2.1115.5.21Why: Vendor security release for server software (most severe: CVE-2026-64642).
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | No | CISA KEV |
| Ransomware use | — | CISA KEV |
| EPSS (30-day exploitation probability) | 0.5% (41th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 8.3 (v4.0)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:L/SI:L/SA:N | CNA / CISA ADP |
| SSVC exploitation | none | CISA Vulnrichment |
| SSVC automatable | No | CISA Vulnrichment |
| SSVC technical impact | partial | CISA Vulnrichment |
Affected versions (from the CVE record)#
- vercel next.js
>= 12.0.0 < 15.5.21(affected)>= 16.0.0, < 16.2.11(affected)
Description (from the CVE record)#
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.
Quoted from the CVE Program record.