Race Condition Vulnerability in Next.js Framework Affecting Vercel Deployments
CVE-2025-32421
Key Information:
Badges
What is CVE-2025-32421?
CVE-2025-32421 is a race condition vulnerability identified in the Next.js framework, which is widely used for building full-stack web applications. Specifically, this vulnerability impacts versions prior to 14.2.24 and 15.1.6 of Next.js. It manifests under certain misconfigurations in the Pages Router, allowing normal endpoints to unintentionally expose pageProps
data instead of returning standard HTML responses. When improperly configured, this can lead to sensitive data exposure, affecting end-user privacy and security. The vulnerability's negative impact on organizations could include unauthorized access to application-specific data, loss of integrity in web application responses, and potential compliance violations regarding data protection regulations. The problem was addressed in subsequent versions by removing the x-now-route-matches
header from incoming requests.
Potential impact of CVE-2025-32421
-
Data Exposure: Due to the unintended serving of
pageProps
data, sensitive information could be revealed to unauthorized users, leading to privacy breaches and potential misuse of data. -
Application Integrity Compromise: The vulnerability could cause end users to receive incorrect or manipulated application responses, undermining trust in the application.
-
Regulatory Non-compliance: Organizations may face legal repercussions if sensitive data is exposed due to this vulnerability, potentially violating data protection laws and resulting in financial penalties.
Affected Version(s)
next.js < 14.2.24 < 14.2.24
next.js >= 15.0.0, < 15.1.6 < 15.0.0, 15.1.6
News Articles
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.
12 hours ago
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.
1 day ago
Race Condition Vulnerability in Next.js Leading to Cache Poisoning
Learn about the race condition vulnerability in Next.js that can lead to cache poisoning. Discover how to fix it and protect your application.
1 day ago
References
CVSS V3.1
Timeline
- πΎ
Exploit known to exist
- π°
First article discovered by Vulert
- π
Vulnerability started trending
Vulnerability published
Vulnerability Reserved