Race conditionin Vercel next.js.
Proof of concept public (GitHub).
Next.js is a React framework for building full-stack web applications. Versions prior to 14.2.24 and 15.1.6 have a race-condition vulnerability. This issue only affects the Pages Router under certain misconfigurations, causing normal endpoints to serve `pageProps` data instead of standard HTML. This issue was patched in versions 15.1.6 and 14.2.24 by stripping the `x-now-route-matches` header from incoming requests.
- Upgrade next.js to 14.2.24, 15.1.6 or later, whichever matches your release line.
- Upgrade next (npm) to 14.2.24, 15.1.6 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 8 Apr 2025CVE ID reserved by GitHub_M.
- 14 May 2025Published in the CVE List.
- 15 May 2025CVE record last updated.
- 11 Oct 2025First public proof of concept on GitHub.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other next.js vulnerabilities
Same weakness: Race condition
- github.com x_refsource_CONFIRM
- vercel.com x_refsource_MISC
Patchminder. CVE-2025-32421: Race condition in Vercel next.js. https://patchminder.com/cve/cve-2025-32421/ (accessed 5 December 2026).