CVE-2025-49826 Next.js DoS vulnerability via cache poisoning
HighCVSS 7.5
EPSS 1.3%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
Next.js is a React framework for building full-stack web applications. From versions 15.0.4-canary.51 to before 15.1.8, a cache poisoning bug leading to a Denial of Service (DoS) condition was found in Next.js. This issue does not impact customers hosted on Vercel. Under certain conditions, this issue may allow a HTTP 204 response to be cached for static pages, leading to the 204 response being served to all users attempting to access the page. This issue has been addressed in version 15.1.8.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm next(npm) | >= 15.0.4-canary.51, < 15.1.8 | 15.1.8 | Fixed |
| vercel next.js | = 15.0.4-canary51; = 15.0.4-canary52; = >= 15.0.4-canary.51, < 15.1.8; >= 15.0.4, < 15.1.8 | 15.1.8 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm next(npm) | >= 15.0.4-canary.51, < 15.1.8 | 15.1.8 |
| vercel next.js | = >= 15.0.4-canary.51, < 15.1.8 | No fix listed |
| vercel next.js | >= 15.0.4, < 15.1.8 | 15.1.8 |
| vercel next.js | = 15.0.4-canary51 | No fix listed |
| vercel next.js | = 15.0.4-canary52 | No fix listed |
References
- https://github.com/vercel/next.js/security/advisories/GHSA-67rr-84xm-4c7r vendor-advisory
- github.com patch
- https://github.com/vercel/next.js/commit/a15b974ed707d63ad4da5b74c1441f5b7b120e93 patch
- https://vercel.com/changelog/cve-2025-49826 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/vercel/next.js/releases/tag/v15.1.8 release-notes
- github.com
- github.com product