CVE-2026-64649: Next.js · Server-Side Request Forgery in Server Actions on custom servers
Affects nextSource GCVE Database
Not known to be exploited · CVSS 8.3 High : upgrade to 15.5.21 soon.
Data as of 5 Dec 2026, 18:47 UTC
- EPSS
- 1.0% chance of exploitation in 30 days – higher than 65% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 15.5.21, 16.2.11
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.
What to do
Upgrade next to 15.5.21; next to 16.2.11.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmnext | Affected
| Fixed in
|
| npmnext | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Next.js to version 15.5.21 or later, or 16.2.11 or later, where the vulnerability is fixed. If upgrading is not immediately possible, ensure that clients cannot control the Host or X-Forwarded-Host headers by pinning or validating these headers at the edge or proxy. For Next.js 14.2.0 and later, set the __NEXT_PRIVATE_ORIGIN environment variable to the deployment's real origin to mitigate the issue. Managed hosting environments that pin the host header upstream are not affected and require no additional action.
Description
Next.js versions >=14.1.1 <15.5.21 and >=16.0.0 <16.2.11 have a Server-Side Request Forgery (SSRF) vulnerability in Server Actions on custom servers. This occurs when an attacker can control Host-related headers, causing the server to send outbound requests to malicious hosts. The issue mainly affects custom server setups or deployments not behind a proxy that pins the host header. Managed hosting and Next.js versions 14.2.0 and later with default configurations are not affected. A fix is available in versions 15.5.21 and 16.2.11.
References
- github.com/vercel/next.js/security/advisories/GHSA-89xv-2m56-2m9x (opens in a new tab)
- github.com/vercel/next.js/commit/b51206321854193208c0805ba42acc49287f942b (opens in a new tab)
- github.com/vercel/next.js/commit/e3e5666ccead3a15162793d697af5e48b7cc0498 (opens in a new tab)
- github.com/vercel/next.js (opens in a new tab)
- github.com/vercel/next.js/releases/tag/v15.5.21 (opens in a new tab)
- github.com/vercel/next.js/releases/tag/v16.2.11 (opens in a new tab)