Server-Side Request Forgery (SSRF) vulnerability in Next.js Server Actions

Patch this weekSensitive data exposure over the network, no login needed.
7.5HIGH

CVE-2024-34351

Key Information:

Vendor

Vercel

Status
CVE ID
CVE ID:
CVE-2024-34351
Vendor
CVE Published:
14 May 2024

Timeline

Exploit known 3 days before it was disclosed

  • ๐ŸŸก

    Public PoC available

  • Vulnerability published

  • ๐Ÿ‘พ

    Exploit known to exist

  • ๐Ÿ“ฐ

    First article discovered by CybersecurityNews

  • ๐Ÿฅ‡

    Vulnerability reached the number 1 worldwide trending spot

  • ๐Ÿ“ˆ

    Vulnerability started trending

  • Vulnerability Reserved

Badges

๐Ÿฅ‡ Trended No. 1๐Ÿ“ˆ Trended๐Ÿ“ˆ Score: 17,200๐Ÿ‘พ Exploit Exists๐Ÿ“ฐ News Worthy

How risky is it?

  • Yes: Works over the network, no login needed
  • Partly: Exploitation or a working exploit reported
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory โ†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Next.js. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Look for signs of compromise

Exploitation has been reported, so check logs on exposed Next.js systems for unusual requests or new processes from before you patched.

4Why it's rated "Patch this week"
  • Exploitation or a working exploit has been reported.
  • It can be exploited remotely without credentials.
  • Its CVSS severity is high (7.5).

What is CVE-2024-34351?

CVE-2024-34351 is a Server-Side Request Forgery (SSRF) vulnerability in Next.js, a React framework used for building web applications. The flaw occurs in Next.js Server Actions when the Host header is modified, and specific conditions are met: Next.js must be self-hosted, utilize Server Actions, and perform a redirect to a relative path starting with a /. An attacker can exploit this vulnerability to make requests that appear to originate from the Next.js application server itself.

This vulnerability has been patched in Next.js version 14.1.1.

Potential Impact of CVE-2024-34351

  1. Unauthorized Internal Requests: An attacker can manipulate the application to make requests to internal services, potentially exposing sensitive data or functionality.

Affected Version(s)

next.js >= 13.4.0, < 14.1.1

News Articles

Critical Next.js Vulnerability Let Attackers Compromise Server Operations

Two new vulnerabilities have been discovered in Next.js which were related to response queue poisoning and SSRF on certain Next.js versions.

References

SVG Injection in Satori Library

CVE-2026-94545
VercelSatori๐Ÿ˜„๐Ÿ‘พ5.3MEDIUM

Path Traversal in Next.js Framework

CVE-2026-75604
VercelNext.js๐Ÿ˜„๐Ÿ‘พ9CRITICAL

Server-Side Request Forgery in Next.js

CVE-2026-44578
VercelNext.js๐Ÿ”ฅ๐Ÿ˜„๐Ÿ‘พ8.6HIGH
View more Vercel vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction

EPSS Score

5% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
.