Description
Next.js is a React framework for building full-stack web applications. By sending a crafted HTTP request, it is possible to poison the cache of a non-dynamic server-side rendered route in the pages router (this does not affect the app router). When this crafted request is sent it could coerce Next.js to cache a route that is meant to not be cached and send a `Cache-Control: s-maxage=1, stale-while-revalidate` header which some upstream CDNs may cache as well. To be potentially affected all of the following must apply: 1. Next.js between 13.5.1 and 14.2.9, 2. Using pages router, & 3. Using non-dynamic server-side rendered routes e.g. `pages/dashboard.tsx` not `pages/blog/[slug].tsx`. This vulnerability was resolved in Next.js v13.5.7, v14.2.10, and later. We recommend upgrading regardless of whether you can reproduce the issue or not. There are no official or recommended workarounds for this issue, we recommend that users patch to a safe version.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| vercel | next.js | >= 13.5.1, < 13.5.7, >= 14.0.0, < 14.2.10 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | jitsucom-jitsu +2 | 2.8.2-r1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 5 repositories
-
Lercas/CVE-2024-46982 ★ 5 · Jan 23, 2025
POC CVE-2024-46982
-
hidesec/CVE-2025-32421 ★ 1 · Oct 11, 2025
Comprehensive demonstration of CVE-2025-32421 Eclipse technique - a sophisticated race condition attack against Next.js 15.0.4 that bypasses the original CVE-2024-46982 patch.
-
samuel871211/CVE-2024-46982-Reproduction ★ 0 · Jan 17, 2026
Reproduction of CVE-2024-46982
-
melmathari/CVE-2024-46982-NUCLEI ★ 0 · Sep 21, 2025
-
CodePontiff/next_js_poisoning ★ 0 · Dec 14, 2024
The CVE-2024-46982 is cache poisoning of next_js some site have API to load their image
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | next | >= 13.5.1, < 13.5.7 | 13.5.7 | GHSA-gp8f-8m3g-qvj9 |
| npm | next | >= 14.0.0, < 14.2.10 | 14.2.10 | GHSA-gp8f-8m3g-qvj9 |