CVE-2025-49826
ASP.NET Core vulnerability analysis and mitigation

Overview

Next.js, a React framework for building full-stack web applications, was found to contain a cache poisoning vulnerability (CVE-2025-49826) affecting versions 15.0.4-canary.51 to before 15.1.8. The vulnerability was disclosed on July 3, 2025, and received a CVSS score of 7.5 (High). This security flaw could lead to a Denial of Service (DoS) condition through cache poisoning (NVD, Security Online).

Technical details

The vulnerability stems from a cache revalidation logic issue in Incremental Static Regeneration (ISR). Under specific conditions, the flaw allows HTTP 204 responses to be cached for static pages, which are then served to all users attempting to access the page. The issue specifically affects routes using cache revalidation with ISR in next start or standalone mode, and routes using Server-Side Rendering (SSR) combined with a CDN that caches 204 responses (Vercel Advisory, Security Online).

Impact

When exploited, the vulnerability causes entire pages to fail to render properly across a site, effectively resulting in a service blackout for critical user-facing content. The issue leads to a 204 No Content response being erroneously cached and served to all users visiting the affected pages. Notably, this issue does not impact customers hosted on Vercel (Security Online, Vercel Advisory).

Mitigation and workarounds

The issue has been patched in version 15.2.0 and backported to version 15.0.4. The fix removed the problematic code path responsible for setting 204 responses and addressed a potential race condition by eliminating reliance on a shared response object in cache logic. Organizations running self-hosted or on-prem versions of Next.js between 15.1.0 and 15.1.7 should upgrade immediately to version 15.2.0 or later (Security Online, Vercel Advisory).

Community reactions

The vulnerability was responsibly disclosed by security researchers Allam Rachid (zhero) and Allam Yasser (inzo). The Next.js team responded promptly by releasing patches and providing detailed technical information about the vulnerability (Vercel Advisory).

Additional resources


SourceThis report was generated using AI

Related ASP.NET Core vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-55315CRITICAL9.9
  • C#C#
  • dotnet-templates-9.0
NoYesOct 14, 2025
CVE-2025-59144HIGH8.8
  • JavaScriptJavaScript
  • dotnet-targeting-pack-6.0
NoYesSep 15, 2025
CVE-2025-55247HIGH7.3
  • C#C#
  • dotnet6
NoYesOct 14, 2025
CVE-2025-57752MEDIUM6.2
  • ASP.NET CoreASP.NET Core
  • aspnetcore-targeting-pack-7.0
NoYesAug 29, 2025
CVE-2025-55248MEDIUM5.7
  • C#C#
  • dotnet-apphost-pack-7.0
NoYesOct 14, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management