CVE-2026-64649 Details
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.
A server-side request forgery (SSRF) vulnerability has been identified in Next.js, a React framework for building full-stack web applications. This issue affects versions 14.1.1 prior to 15.5.20 and 16.0.0 prior to 16.2.10. The vulnerability arises when a Server Action forwards or redirects a request, allowing an attacker to manipulate the request's Host-associated headers and direct it to a malicious host. In some cases, this could also expose internal values that undermine middleware or proxy authorization. The vulnerability is present in applications using Server Actions on custom servers or deployments not behind a proxy that secures the host header. Managed hosting services that pin the host are not affected, and Next.js versions 14.2.0 and later address this issue in standard and standalone outputs.
Users can upgrade to Next.js versions 15.5.21 or 16.2.11, both of which include the necessary security fix. If an upgrade is not possible, ensure that the host header received by the application is not controlled by clients. It is recommended to pin or validate the 'Host' and 'X-Forwarded-Host' headers at the edge or proxy. For Next.js versions 14.2.0 and later, the '__NEXT_PRIVATE_ORIGIN' environment variable can be set to the application's real origin before starting the server.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 28, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| vercel next.js | >= 14.1.1, < 15.5.21 >= 16.0.0, < 16.2.11 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 29, 2026 | Initial Analysis | [email protected] |
| Jul 28, 2026 | CVE Modified | CISA-ADP |
| Jul 27, 2026 | New CVE Received | [email protected] |