Race Condition in Next.js Framework

3.7LOW

CVE-2025-32421

Key Information:

Vendor

Vercel

Status
CVE ID
CVE ID:
CVE-2025-32421
Vendor
CVE Published:
14 May 2025
Fixed in
Fixed in:
14.2.24, 15.0.0, 15.1.6

Timeline

Exploit known 3 days after it was published

  • ๐Ÿ‘พ

    Exploit known to exist

  • ๐Ÿ“ฐ

    First article discovered by Vulert

  • ๐Ÿ“ˆ

    Vulnerability started trending

  • Vulnerability published

  • Vulnerability Reserved

Badges

๐Ÿ“ˆ Trended๐Ÿ“ˆ Score: 3,720๐Ÿ‘พ 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

1Update to a fixed version
next.js < 14.2.24 to below 14.2.24 is vulnerable
next.js >= 15.0.0, < 15.1.6 to below 15.0.0, 15.1.6 is vulnerable

Install the next.js release that fixes your version line, or later:

14.2.2415.0.0, 15.1.6
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 low (3.7).

What is CVE-2025-32421?

CVE-2025-32421 is a race condition vulnerability in the Next.js framework, affecting versions prior to 14.2.24 and 15.1.6. This flaw occurs in the Pages Router when specific misconfigurations are present, allowing an attacker to exploit a race condition between two requests. By doing so, the attacker can cause normal endpoints to serve pageProps data instead of standard HTML, potentially leading to cache poisoning in Content Delivery Networks (CDNs).

The vulnerability was patched in versions 15.1.6 and 14.2.24 by removing the x-now-route-matches header from incoming requests. Applications hosted on Vercel's platform are not affected, as it does not cache responses based solely on a 200 OK status without explicit cache-control headers.

Potential Impact of CVE-2025-32421

  1. Cache Poisoning: An attacker can inject non-cacheable data into a cacheable response, causing subsequent users to receive poisoned content.

  2. Data Exposure: Serving pageProps data instead of standard HTML may expose sensitive information intended for specific requests.

News Articles

CVE-2025-32421 Impact, Exploitability, and Mitigation Steps | Wiz

Understand the critical aspects of CVE-2025-32421 with a detailed vulnerability assessment, exploitation potential, affected technologies, and remediation guidance.

Security Update: Next.js sites on Netlify not vulnerable to CVE-2025-32421 | Netlify Changelog

Get the latest updates on Netlify products and features to meet your developer needs.

CVE-2025-32421 - Vercel

A low severity cache poisoning vulnerability was discovered in Next.js. This affects versions 14.2.9 through <15.1.6 as a bypass of the previous CVE-2024-46982.

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

CVSS V3.1

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