CVE-2026-64645 json
Next.js: Server-Side Request Forgery in rewrites via attacker-controlled destination hostname
published 2026-07-21 3 mo ago modified 2026-10-24 15 d ago also EUVD-2026-49378 , GHSA-p9j2-gv94-2wf4
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 39%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm next 15.5.21, 16.2.11
- vercel next.js 15.5.21, 16.2.11
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-64645 updated cvss 8.2
next: Next.js: Server-Side Request Forgery vulnerability
-
Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-gaudi-rhel9, rhelai3/disk-image-cuda-rhel9affected: no fix available, no fix planned “Will not fix”
-
Red Hat Streams for Apache Kafka 3.2.1fixed: vendor fix RHSA-2026:54435
-
Red Hat Enterprise Linux 7 firefox, firefox 140.13.0-1.el10_2not affected: vulnerable code not present
-
Red Hat Enterprise Linux 8 firefox, thunderbird, firefox 140.13.0-1.el10_2, thunderbird 140.12.0-1.el10_2 Red Hat Enterprise Linux 9 firefox, firefox-x11, thunderbird, firefox 140.13.0-1.el10_2, thunderbird 140.12.0-1.el10_2 Red Hat Enterprise Linux 10 firefox 140.13.0-1.el10_2, thunderbird 140.12.0-1.el10_2not affected: component not present
-
Red Hat Trusted Artifact Signer rhtas/rekor-search-ui-rhel9 Red Hat streams for Apache Kafka 2 next 15.5.18not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.46% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.3 | 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 | 4.0 | 8.3 | 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/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 |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | next | >=12.0.0, <15.5.21 >=16.0.0, <16.2.11 |
15.5.21 16.2.11 |
Affected products
- vercel next.js
Classification
- Weakness
- Technology feeds
References
-
github.com
/vercel/next.js/commit/35f501357e9b0fe7c950b0d6aa8fcf5343f707e9
web, patch
-
github.com
/vercel/next.js/commit/d3033266c6dff23f7be71e19341fe3a8c6e2c599
web, patch
-
github.com
/vercel/next.js/security/advisories/GHSA-p9j2-gv94-2wf4
web, mitigation, vendor-advisory, advisory
-
github.com
/vercel/next.js/releases/tag/v15.5.21
web, product, release-notes
-
github.com
/vercel/next.js/releases/tag/v16.2.11
web, product, release-notes
-
github.com
/vercel/next.js
package
Sources
- CVE List CVE-2026-64645
- GitHub Advisory GHSA-p9j2-gv94-2wf4
- NVD CVE-2026-64645
- Maintainer advisory GHSA-p9j2-gv94-2wf4
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of vercel/next.js published their own advisory on GitHub. Reviewed sources take precedence over it.