# CVE-2024-46982: Cache Poisoning in next.js

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 61.0%, higher than 99% of CVEs (2026-12-01)
- Published: 2024-09-17T21:55:04.312Z
- Modified: 2026-09-10T03:50:18.787Z
- Also known as: GHSA-gp8f-8m3g-qvj9
- Weaknesses: CWE-349, CWE-639
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- vercel next.js: >= 13.5.1, < 13.5.7; >= 14.0.0, < 14.2.10; from 13.5.1 before 13.5.7; from 14.0.0 before 14.2.10
- next (npm): from 13.5.1 before 13.5.7; from 14.0.0 before 14.2.10

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/vercel/next.js/security/advisories/GHSA-gp8f-8m3g-qvj9> (vendor-advisory, web)
- <https://github.com/vercel/next.js/commit/7ed7f125e07ef0517a331009ed7e32691ba403d3> (patch, web)
- <https://github.com/vercel/next.js/commit/bd164d53af259c05f1ab434004bcfdd3837d7cda> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-46982> (advisory)
- <https://github.com/vercel/next.js> (package)

## Sources

- CVE List: [CVE-2024-46982](https://www.cve.org/CVERecord?id=CVE-2024-46982), CVE Terms of Use, modified 2024-09-18
- GitHub Advisory Database: [GHSA-gp8f-8m3g-qvj9](https://github.com/advisories/GHSA-gp8f-8m3g-qvj9), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-46982](https://nvd.nist.gov/vuln/detail/CVE-2024-46982), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-46982 · Whole record: https://cve.day/CVE-2024-46982.json · Rebuilt by cve.day 2026-11-25T22:58:45.524Z
