Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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