Skip to content
Fencer Vulns
medium 6.1

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

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-rhel9
    affected: no fix available, no fix planned “Will not fix”
  • Red Hat Streams for Apache Kafka 3.2.1
    fixed: vendor fix RHSA-2026:54435
  • Red Hat Enterprise Linux 7 firefox, firefox 140.13.0-1.el10_2
    not 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_2
    not affected: component not present
  • Red Hat Trusted Artifact Signer rhtas/rekor-search-ui-rhel9 Red Hat streams for Apache Kafka 2 next 15.5.18
    not 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
  • CWE-918 Server-Side Request Forgery
  • CWE-601 URL Redirection to Untrusted Site
Technology feeds

References

Sources

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.