Skip to main content

Next.js EUVDEUVD-2026-49571

| CVE-2026-64649 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-07-22 https://github.com/vercel/next.js GHSA-89xv-2m56-2m9x
8.3
CVSS 4.0 · Vendor: https://github.com/vercel/next.js
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send request with attacker-controlled Host header
  2. Delivery
    Trigger Server Action forward or redirect
  3. Exploit
    Server derives origin from spoofed host
  4. Execution
    Outbound request sent to malicious host
  5. Impact
    Exfiltrate internal values / bypass proxy authorization

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the application uses Next.js Server Actions AND that the incoming Host header (and X-Forwarded-Host) is not fixed to a trusted value - i.e., the deployment is a custom server or is not behind a proxy that pins the host. The attacker must be able to control the Host-associated headers reaching the app. What LIMITS exploitation: managed hosting providers pin the host upstream and are NOT affected; next start and standalone output pin the host from version 14.2.0 onward and are NOT affected; and deployments that already validate/pin Host and X-Forwarded-Host at the edge, or set __NEXT_PRIVATE_ORIGIN (14.2.0+), are protected. It is unauthenticated (PR:N) but carries an attack requirement (AT:P) reflecting this non-default configuration dependency.

Impact

The signals are consistent and point to a real-but-conditional issue rather than a mass-exploitation emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N, base 8.3) reflects a network, unauthenticated attack with an Attack Requirement (AT:P) - precisely the non-default condition that the Host header must not be pinned. EPSS is low (0.62%, 46th percentile) and CISA SSVC reports Exploitation: none, Automatable: no, Technical Impact: partial, all reinforcing that this is not currently being exploited at scale. The high CVSS is driven by high confidentiality impact (VC:H) - leaking internal values that can weaken authorization - but the AT:P requirement plus the description's explicit statement that managed hosting, next start, and standalone output (from 14.2+) already pin the host substantially narrows the exposed population. Net: prioritize for self-hosted/custom-server Next.js deployments; lower urgency for managed or standard-start deployments. No KEV listing and no POC identified, so treat exploitation as plausible but not confirmed.

Exploit ScenarioDerived

An attacker sends an HTTP request to a self-hosted Next.js app running a custom server that does not pin the Host header, setting a malicious Host/X-Forwarded-Host value. When the targeted Server Action forwards or redirects, the server issues its outbound request to the attacker's host, enabling SSRF and potential disclosure of internal values that weaken middleware/proxy authorization. No public exploit is identified at time of analysis, and success depends on the non-default host-header condition.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 30, 2026

Server-Side Request Forgery in the Vercel Next.js framework (versions 14.1.1 through 15.5.20 and 16.0.0 through 16.2.10) lets a remote attacker who controls Host-associated headers coerce a Server Action's forwarded or redirected request to an attacker-chosen host, and in some setups leak internal values that weaken middleware/proxy authorization. Exploitation is limited to deployments where the incoming Host header is not pinned to a trusted value - typically custom servers or setups not fronted by a host-pinning proxy. There is no public exploit identified at time of analysis, EPSS is low (0.62%, 46th percentile), and CISA SSVC rates exploitation as 'none' with partial technical impact.

RemediationAI

Vendor-released patch: upgrade to Next.js 15.5.21 (for the 14.1.1-15.5.x line, https://github.com/vercel/next.js/releases/tag/v15.5.21) or 16.2.11 (for the 16.x line, https://github.com/vercel/next.js/releases/tag/v16.2.11); fixes are in commits b51206321854193208c0805ba42acc49287f942b and e3e5666ccead3a15162793d697af5e48b7cc0498. If you cannot upgrade immediately, ensure clients cannot control the Host header your application receives by pinning or validating both Host and X-Forwarded-Host at your edge or reverse proxy (trade-off: requires correct proxy configuration and can break multi-tenant/virtual-host setups if over-restrictive). On version 14.2.0 and later you can additionally set the __NEXT_PRIVATE_ORIGIN environment variable to your deployment's real origin (e.g. __NEXT_PRIVATE_ORIGIN=https://www.example.com node server.js), which forces a trusted origin but is a private/undocumented variable slated for removal, so treat it as a stopgap and still plan the upgrade. See the advisory at https://github.com/vercel/next.js/security/advisories/GHSA-89xv-2m56-2m9x.

Affected VersionsENISA

next.js 16.0.0 < 16.2.11
next.js 14.1.1, < 15.5.21

Affected Packages

npm next fix: 15.5.21, 16.2.11
euvd next_js fix: 15.5.21, 16.2.11

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Next.js is a widely used React-based full-stack web framework (npm package 'next', CPE pkg:npm/next). The flaw is CWE-918 (Server-Side Request Forgery) in the App Router Server Actions handler (packages/next/src/server/app-render/action-handler.ts). When a Server Action forwards a response (createForwardedActionResponse) or issues a redirect (createRedirectRenderResult), the server derived the outbound request origin from the client-supplied Host header (${proto}://${host.value}) unless the __NEXT_PRIVATE_ORIGIN environment variable was set. Because the origin was reconstructed from attacker-influenceable Host/X-Forwarded-Host headers, an attacker could redirect the server's internal outbound request. The patch removes reliance on the request-derived host and instead resolves the origin from the framework's trusted initURL request metadata, throwing an InvariantError ('Missing initURL') or an origin-determination error rather than trusting client headers.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/vercel/next.js) PRIMARY 8.3 HIGH
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
vuln.today AI 6.5 MEDIUM

Unauthenticated network attack (PR:N), but AC:H reflects the required non-default configuration where the Host header is not pinned; high confidentiality from internal-value disclosure, low integrity, no availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Red Hat 8.2 HIGH

Primary rating from Vendor (https://github.com/vercel/next.js).

CVSS VectorVendor: https://github.com/vercel/next.js

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Analysis Updated
Jul 27, 2026 - 20:28 vuln.today
v2 - CVSS changed
CVSS changed
Jul 27, 2026 - 20:22 NVD
8.3 (HIGH)
CVE Published
Jul 22, 2026 - 23:09 cve.org
HIGH

DescriptionCVE.org

Impact

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.

Workarounds

If you cannot upgrade, ensure clients do not control the host header your application receives. Pin or validate Host and X-Forwarded-Host at your edge or proxy. On version 14.2.0 and later, you can additionally set the __NEXT_PRIVATE_ORIGIN environment variable to your deployment's real origin:

bash
__NEXT_PRIVATE_ORIGIN=https://www.example.com node server.js

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 15,765 npm packages depend on next (1,508 direct, 14,296 indirect)

Ecosystem-wide dependent count for version 14.1.1.

Executive ViewAI

Why It Matters

Vercel Next.js framework versions 14.1.1-15.5.20 and 16.0.0-16.2.10 contain a server-side request routing vulnerability that allows attackers to redirect internal application traffic to external targets and potentially extract sensitive system values. Organizations using affected versions without proxy-based host validation controls are at risk, particularly those exposing internal services through their Next.js tier. A vendor patch is available, making rapid remediation the appropriate response.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 54% exploitable
Prevalence
High
very widely deployed React web framework, but only custom/self-hosted setups affected
Threat Intel
1
1 source
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy