Next.js: Server-Side Request Forgery in Server Actions on Custom Servers
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Partial Red Hat: 1 fixed, 1 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| vercel | next.js | 14.1.1 to before 15.5.21; >= 16.0.0 < 16.2.11 | 15.5.21 | Patch available | CNA |
| — | next (npm) | 14.1.1 to before 15.5.21 | 15.5.21 | Patch available | GHSA-89xv-2m56-2m9x |
| — | next (npm) | 16.0.0 to before 16.2.11 | 16.2.11 | Patch available | GHSA-89xv-2m56-2m9x |
- next.js Vendorvercel Affected 14.1.1 to before 15.5.21; >= 16.0.0 < 16.2.11 Fixed in 15.5.21 Patch available CNA
- next (npm) Vendor— Affected 14.1.1 to before 15.5.21 Fixed in 15.5.21 Patch available GHSA-89xv-2m56-2m9x
- next (npm) Vendor— Affected 16.0.0 to before 16.2.11 Fixed in 16.2.11 Patch available GHSA-89xv-2m56-2m9x
Remediation
- Fix · CNA next.js (vercel) Fixed in 15.5.21
- Fix · GHSA-89xv-2m56-2m9x next (npm) Fixed in 15.5.21 Advisory →
- Fix · GHSA-89xv-2m56-2m9x next (npm) Fixed in 16.2.11 Advisory →
Red Hat 1 advisory
- RHSA-2026:54435 Released 2026-08-12 · Red Hat rating ImportantStreams for Apache Kafka 3.2.1 release and security update
- Streams for Apache Kafka 3.2.1
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | No fix yet |
| Streams for Apache Kafka 3.2.1 | Fixed | RHSA-2026:54435 |
Not affected: 6 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Trusted Artifact Signer
- streams for Apache Kafka 2
Timeline
- 2026-10-02 Threatist record created from CVE-2026-64649
- 2026-10-03 Alias added: GHSA-89xv-2m56-2m9x
- 2026-11-03 Affected versions changed · Red Hat
References
Patch 2
More vercel Next.js vulnerabilities
- TI-2025-34861 Deserialization of untrusted data in Meta react-server-dom-webpack KEVCVSS 3.1CRITICAL 10.0
- TI-2025-21309 Authorization Bypass in Next.js Middleware CVSS 3.1CRITICAL 9.1
- TI-2025-34863 Deserialization of untrusted data in Meta react-server-dom-webpack CVSS 3.1HIGH 7.5
- TI-2024-31371 Cache Poisoning in next.js CVSS 3.1HIGH 7.5
- TI-2023-24914 Next.js before 13.4.20-canary.13 lacks a cache-control header and thus empty prefetch… CVSS 3.1HIGH 7.5
- TI-2026-32490 Next.js: Server-side request forgery in applications using WebSocket upgrades CVSS 3.1HIGH 8.6
Sources
- CVE-2026-64649 · CVE Program
- CVE-2026-64649 · NVD
- FIRST EPSS
- GHSA-89xv-2m56-2m9x · GitHub Advisory Database · CC BY 4.0
- CVE-2026-64649 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences