Tuesday, September 8, 2026

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.

The flaw, present in versions >=15.1.0 and <15.1.8, allowed attackers to exploit a cache poisoning bug, potentially leading to a Denial of Service (DoS) condition for affected applications, as per a report by Vercel.

CVE IDAffected VersionsSeverityImpactFixed In
CVE-2025-49826>=15.1.0 <15.1.87.5DoS via cache poisoning15.1.8

Technical Details

The vulnerability stemmed from improper handling of HTTP 204 responses in certain caching scenarios.

Under specific conditions, a 204 No Content response could be cached for static pages.

Once cached, this empty response would be served to all users attempting to access the affected page, effectively rendering the content inaccessible and causing a service blackout.

For the vulnerability to be exploitable, all the following had to be true:

  • The application was running an affected version of Next.js (>=15.1.0, <15.1.8).
  • The route used cache revalidation with Incremental Static Regeneration (ISR) in next start or standalone mode.
  • The route used Server-Side Rendering (SSR) and was behind a CDN configured to cache 204 responses.

Notably, customers hosted on Vercel were not impacted by this issue.

If exploited, the vulnerability could allow an attacker to poison the cache with a 204 response.

This would result in all subsequent users receiving the empty response, causing a denial of service for the affected static or SSR pages. The issue was rated with a CVSS score of 7.5, indicating high severity.

The Next.js team responded swiftly by:

  • Removing the problematic code path that could set a 204 response in the cache.
  • Eliminating a race condition by no longer relying on a shared response object to populate the cache.

The fix was released in version 15.1.8. Users running self-hosted or on-premises deployments of Next.js between 15.1.0 and 15.1.7 are strongly advised to upgrade immediately.

Those on earlier major versions should ensure they are on 15.0.4 or below.

  • Upgrade Next.js to version 15.1.8 or later.
  • Review CDN configurations to ensure 204 responses are not cached for critical routes.
  • Monitor for abnormal HTTP 204 responses in application logs.

Staying current with security updates is essential to protect web applications from emerging threats.

Exclusive Webinar Alert: Harnessing Intel® Processor Innovations for Advanced API Security – Register for Free

Divya
Divya
Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Hot this week

How To Access Dark Web Anonymously and know its Secretive and Mysterious Activities

What is Deep Web The deep web, invisible web, or...

How to Build and Run a Security Operations Center (SOC Guide) – 2023

Today’s Cyber security operations center (CSOC) should have everything...

Russian Hackers Bypass EDR to Deliver a Weaponized TeamViewer Component

TeamViewer's popularity and remote access capabilities make it an...

Web Server Penetration Testing Checklist – 2026

Web server pentesting is performed under three significant categories: identity,...

ATM Penetration Testing – Advanced Testing Methods to Find The Vulnerabilities

ATM Penetration testing, Hackers have found different approaches to...

Panzer Ransomware Emerges With Windows, Linux, ESXi and FreeBSD Attack Support

A newly identified ransomware-as-a-service operation, Panzer, has surfaced with...

Hackers Steal Microsoft 365 Sessions to Hijack Accounts Even After MFA

Cybercriminals are using a rebranded Evilginx2 phishing-as-a-service platform dubbed...

Known npm Worm Returns After 111 Days and Security Scanning Still Let It Through

A known Shai-Hulud npm worm payload has resurfaced after...

Switzerland Builds Open-Source Workplace Platform to Operate Alongside Microsoft 365

Switzerland’s Federal Chancellery is advancing a sovereign digital workplace...

Mathspace Data Breach Exposes Personal Data of Over 1 Million Students, Parents and Staff

Mathspace, an online mathematics learning platform used by schools...

New InjectEave Attack Lets Hackers Eavesdrop on Headphone Audio From 30 Meters Away

Security researchers have unveiled InjectEave, an electromagnetic side-channel attack...

Related Articles

Recent News