Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.8%top 45%

CVE-2026-64645: CWE-918: Server-Side Request Forgery (SSRF) in vercel next.js

0
High
Published: 07/27/2026 (07/27/2026, 17:37:07 UTC)
Source: GCVE Database
Vendor/Project: vercel
Product: next.js

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 v4.0

Score 8.3high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
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

Affected software

npmghsa
next
Affected versions
>=12.0.0 <15.5.21
npmghsa
next
Affected versions
>=16.0.0 <16.2.11

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 15:26:45 UTC

Technical Analysis

Next.js, a React framework, is vulnerable to SSRF and open redirect attacks in versions >=12.0.0 <15.5.21 and >=16.0.0 <16.2.11. The vulnerability arises when rewrites() or redirects() rules build external destination hostnames from request-controlled input, bypassing hostname suffix restrictions. For rewrites, the server proxies requests to attacker-controlled hosts and returns the response, enabling SSRF. Redirects configured similarly allow open redirects. These vulnerabilities have been addressed in Next.js versions 15.5.21 and 16.2.11.

Potential Impact

An attacker can exploit this vulnerability to make the Next.js server send requests to arbitrary hosts, potentially accessing internal resources or services not directly reachable by the attacker (SSRF). Additionally, open redirect vulnerabilities can facilitate phishing or redirect users to malicious sites. The CVSS 4.0 score is 8.3 (high severity), indicating significant risk if exploited.

Mitigation Recommendations

Upgrade Next.js to version 15.5.21 or later in the 15.x series, or 16.2.11 or later in the 16.x series, where this vulnerability is fixed. No other mitigations are specified. Patch status is confirmed fixed in these versions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-p9j2-gv94-2wf4
Osv Schema Version
1.4.0
Aliases
["CVE-2026-64645"]
Ecosystems
["npm"]
Database Specific Severity
HIGH
Cvss Version
4.0

Threat ID: 6a616bcd9c2644c7f80dbda1

Added to database: 07/23/2026, 01:18:05 UTC

Last enriched: 07/30/2026, 15:26:45 UTC

Last updated: 09/05/2026, 22:52:12 UTC

Views: 236

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses