Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend request with attacker-controlled Host header
-
DeliveryTrigger Server Action forward or redirect
-
ExploitServer derives origin from spoofed host
-
ExecutionOutbound request sent to malicious host
-
ImpactExfiltrate 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; |
| 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, |
| 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (https://github.com/vercel/next.js).
CVSS VectorVendor: https://github.com/vercel/next.js
Lifecycle Timeline
3DescriptionCVE.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:
__NEXT_PRIVATE_ORIGIN=https://www.example.com node server.jsExecutive ViewAI
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
EUVD-2026-49571
GHSA-89xv-2m56-2m9x
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB