Cache Poisoning in Next.js Framework
CVE-2025-49826
Key Information:
Timeline
Exploit known 1 day after it was published
- ๐
Vulnerability started trending
- ๐พ
Exploit known to exist
- ๐ฐ
First article discovered by GBHackers News
Vulnerability published
Vulnerability Reserved
Badges
How risky is it?
- Yes: Works over the network, no login needed
- Partly: Exploitation or a working exploit reported
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Patch this week
Exploitation is likely. Prioritise the fix.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory โ2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Next.js. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Look for signs of compromise
Exploitation has been reported, so check logs on exposed Next.js systems for unusual requests or new processes from before you patched.
4Why it's rated "Patch this week"
- Exploitation or a working exploit has been reported.
- It can be exploited remotely without credentials.
- Its CVSS severity is high (7.5).
What is CVE-2025-49826?
CVE-2025-49826 is a Denial of Service (DoS) vulnerability in Next.js, a React framework for building web applications. The flaw exists in Next.js versions from 15.1.0 to before 15.1.8, where a cache poisoning bug can be triggered under specific conditions. This bug allows an attacker to cache an HTTP 204 response for static pages, which results in users receiving blank pages instead of the intended content.
The vulnerability requires the affected version of Next.js, Incremental Static Regeneration (ISR) with cache revalidation, and Server-Side Rendering (SSR) with a CDN configured to cache 204 responses. The issue has been resolved in Next.js version 15.1.8.
Potential Impact of CVE-2025-49826
- Denial of Service: Attackers can poison the cache with empty HTTP 204 responses, causing legitimate users to receive blank pages when accessing affected static or SSR pages.
Affected Version(s)
next.js >= 15.0.4-canary.51, < 15.1.8
News Articles
Next.js Cache Poisoning Vulnerability Let Attackers Trigger DoS Condition
A critical security vulnerability identified as CVE-2025-49826 has been discovered in Next.js, the popular React-based web framework.
Next.js Vulnerability Allows Attackers to Trigger DoS via Cache Poisoning
A critical vulnerability, tracked asย CVE-2025-49826, has been discovered and addressed in the popular React-based web framework, Next.js.
References
More Vercel Vulnerabilities
SVG Injection in Satori Library
Path Traversal in Next.js Framework
Server-Side Request Forgery in Next.js
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction