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.9%top 44%

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

0
High
Published: 07/27/2026 (07/27/2026, 19:27:58 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 14.1.1 through 15.5.20 and 16.0.0 through 16.2.10, when a Server Action forwards or redirects a request, an attacker can cause the server to send that outbound request to a malicious host (Server-Side Request Forgery). This requires the attacker's request to control Host-associated headers. In some configurations, it's also possible to obtain internal values that weaken middleware/proxy authorization. Applications that use Server Actions are affected when the incoming host header is not fixed to a trusted value. This typically occurs on custom servers, or on deployments not behind a proxy that pins the host. Managed hosting pins the host upstream and is not affected; next start and standalone output do the same from version 14.2 onward. 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
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Affected software

npmghsa
next
Affected versions
>=14.1.1 <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:28:02 UTC

Technical Analysis

Next.js, a React framework for full-stack web applications, has an SSRF vulnerability (CWE-918) in versions >=14.1.1 <15.5.21 and >=16.0.0 <16.2.11. The flaw arises when Server Actions forward or redirect requests and the attacker can manipulate Host-associated headers, causing the server to send outbound requests to attacker-controlled hosts. This can also expose internal values weakening middleware or proxy authorization in some configurations. The vulnerability requires that the incoming host header is not fixed to a trusted value, which is common in custom servers or deployments without upstream host pinning. Managed hosting environments and next start/standalone output from version 14.2 onward mitigate this risk by pinning the host upstream. The vulnerability has been addressed in versions 15.5.21 and 16.2.11.

Potential Impact

An attacker able to control Host headers in affected Next.js versions can exploit SSRF to make the server send requests to arbitrary malicious hosts. This may lead to unauthorized internal resource access or bypass of middleware/proxy authorization in some setups. The vulnerability does not require privileges or user interaction but depends on the server configuration regarding host header validation.

Mitigation Recommendations

Upgrade Next.js to version 15.5.21 or later in the 15.x branch, or 16.2.11 or later in the 16.x branch, where this SSRF vulnerability is fixed. For deployments using custom servers or without upstream host pinning, ensure that the incoming host header is validated and fixed to a trusted value. Managed hosting environments and next start/standalone output from version 14.2 onward already mitigate this issue by pinning the host upstream.

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-89xv-2m56-2m9x
Osv Schema Version
1.4.0
Aliases
["CVE-2026-64649"]
Ecosystems
["npm"]
Database Specific Severity
HIGH
Cvss Version
4.0

Threat ID: 6a616bcd9c2644c7f80dbd81

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

Last enriched: 07/30/2026, 15:28:02 UTC

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

Views: 271

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