CVE-2026-64645
Last modified
CVE-2026-64645 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 1.02% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Vercel | Next.Js | >= 12.0.0, < 15.5.21 |
| Vercel | Next.Js | >= 16.0.0, < 16.2.11 |
References
- https://github.com/vercel/next.js/releases/tag/v15.5.21Product, Release Notes
- https://github.com/vercel/next.js/releases/tag/v16.2.11Product, Release Notes
- https://github.com/vercel/next.js/security/advisories/GHSA-p9j2-gv94-2wf4Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-64645?
How severe is CVE-2026-64645?
How do I fix CVE-2026-64645?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-64639Incorrect database cloning process in Plesk from 18.0.52 bef…9.3
- CVE-2026-64640Apache Polaris did not consistently validate storage locatio…6.5
- CVE-2026-64641Next.js is a React framework for building full-stack web app…7.5
- CVE-2026-64642Next.js is a React framework for building full-stack web app…8.2
- CVE-2026-64643Next.js is a React framework for building full-stack web app…5.3
- CVE-2026-64644Next.js is a React framework for building full-stack web app…5.3
- CVE-2026-64646Next.js is a React framework for building full-stack web app…5.3
- CVE-2026-64647Next.js is a React framework for building full-stack web app…5.4
- CVE-2026-64648Next.js is a React framework for building full-stack web app…5.4
- CVE-2026-64649Next.js is a React framework for building full-stack web app…6.5
- CVE-2026-64650The `@ai-sdk/harness-opencode` tool is an HarnessV1 adapter …6.3
- CVE-2026-64651The `@ai-sdk/harness-opencode` tool connects HarnessAgent to…6.3
Are you affected by CVE-2026-64645?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
