megachangelog
Security15.1.8

CVE-2025-49826: Cache poisoning vulnerability in Next.js

A cache poisoning vulnerability in Next.js versions 15.1.0 to 15.1.8 could allow HTTP 204 responses to be incorrectly cached for static pages and served to all users. The vulnerability has been resolved by removing the problematic code path and the race condition that led to cache poisoning.

Summary

Impact

Resolution

Credit

References

A vulnerability affecting Next.js has been addressed. It impacted versions and involved a cache poisoning bug leading to a Denial of Service (DoS) condition.>=15.1.0 <15.1.8

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 required the below conditions to be exploitable:

The issue was resolved by removing the problematic code path that would have caused the 204 response to be set. Additionally, we removed the race condition that could have led to this cache poisoning by no longer relying on a shared response object to populate the Next.js response cache.

Thanks to Allam Rachid () and Allam Yasser () for responsible disclosure.zheroinzo_

Read more

  • Using an affected version of Next.js, and;

    • A route using cache revalidation with ISR ( or standalone mode); andnext start

    • A route using SSR, with a CDN configured to cache 204 responses.

securitynextjscachedenial-of-service

Source: original entry ↗

More from Vercel

Follow Vercel to get its new changes in your feed and email digest.

Announcement2026.10.19

Updates to Hobby and Pro Terms of Service

Vercel is updating Terms of Service for Hobby and Pro customers effective October 19, 2026, clarifying credit policies, managed accounts, auto-renewal practices, and adding statutory cancellation and refund rights for UK and EU consumers, including protections for service changes with negative impact.

termsbillingcreditspolicylegal
Announcement

Mercury 3 now available on AI Gateway

Inception's Mercury 3 model is now available on Vercel's AI Gateway with 50% launch pricing and generation speeds exceeding 1,000 tokens per second. The model enables parallel text refinement with a 1M-token context window, ideal for real-time applications like browser agents and customer support.

ai-gatewaymodelsinferencellmlaunch
Announcement

MiniMax M3.1 Flash now available on AI Gateway for free

MiniMax M3.1 Flash, an open-weight multimodal model with 1M-token context window for coding and agentic work, is now available on Vercel's AI Gateway at no cost through October 20. The model excels at complex agent tasks, coding applications, and cybersecurity work, and can be used through multiple APIs and coding agents.

ai-gatewaymodelscodingagentsapi
See all Vercel changes →