Next.js Server-Side Request Forgery in Server Actions
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 1 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-918 and the CVSS impact.
Summary
Next.js is a React framework that can provide building blocks to create web applications. A Server-Side Request Forgery (SSRF) vulnerability was identified in Next.js Server Actions. If the `Host` header is modified, and the below conditions are also met, an attacker may be able to make requests that appear to be originating from the Next.js application server itself. The required conditions are 1) Next.js is running in a self-hosted manner; 2) the Next.js application makes use of Server Actions; and 3) the Server Action performs a redirect to a relative path which starts with a `/`. This vulnerability was fixed in Next.js `14.1.1`.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- 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 | 13.4.0 to before 14.1.1 | 14.1.1 | Patch available | CNA |
| — | next (npm) | 13.4.0 to before 14.1.1 | 14.1.1 | Patch available | GHSA-fr5h-rqp8-mj6g |
- next.js Vendorvercel Affected 13.4.0 to before 14.1.1 Fixed in 14.1.1 Patch available CNA
- next (npm) Vendor— Affected 13.4.0 to before 14.1.1 Fixed in 14.1.1 Patch available GHSA-fr5h-rqp8-mj6g
Remediation
- Fix · CNA next.js (vercel) Fixed in 14.1.1
- Fix · GHSA-fr5h-rqp8-mj6g next (npm) Fixed in 14.1.1 Advisory →
Red Hat 1 advisory
- RHSA-2026:13571 Released 2026-05-04 · Red Hat rating CriticalStreams for Apache Kafka 3.2.0 release and security update
- Streams for Apache Kafka 3.2.0
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.0 | Fixed | RHSA-2026:13571 |
Not affected: 2 products
- Red Hat Trusted Artifact Signer
- streams for Apache Kafka 2
Timeline
- 2026-10-02 Threatist record created from CVE-2024-34351
- 2026-10-03 Alias added: GHSA-fr5h-rqp8-mj6g
References
Patch 2
Advisory 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-2024-34351 · CVE Program
- CVE-2024-34351 · NVD
- FIRST EPSS
- GHSA-fr5h-rqp8-mj6g · GitHub Advisory Database · CC BY 4.0
- CVE-2024-34351 · 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