Next.js Issues Critical Security Patches Addressing High Severity Vulnerabilities Across App Router and Server Actions

Vercel has officially released a comprehensive series of security updates for Next.js, the industry-leading React framework, following the recent implementation of its preannounced security release model. The updates, which arrived in version 16.2.11 for Active Long Term Support (LTS) and version 15.5.21 for Maintenance LTS, address a spectrum of vulnerabilities ranging from high-severity Denial of Service (DoS) attacks to Server-Side Request Forgery (SSRF) and middleware bypasses. These patches mark a significant milestone in Vercel’s commitment to providing a predictable and transparent security roadmap for enterprise-level development teams who rely on the framework to power high-traffic applications.
The security advisory covers nine distinct Common Vulnerabilities and Exposures (CVE) entries, several of which target the App Router and Server Actions—two of the most transformative features introduced in recent iterations of the framework. By transitioning to a preannounced model, Vercel allowed engineering teams a window of preparation before the technical details of the vulnerabilities were made public, a move that aligns with modern DevSecOps practices. Beyond the stable LTS releases, the fixes have also been integrated into the latest Next.js 16.3 canary (v16.3.0-canary.92) and preview (v16.3.0-preview.7) builds, ensuring that early adopters and developers working on the cutting edge of the framework remain protected.
High-Severity Vulnerabilities in the App Router and Server Actions
The most critical issues identified in this release cycle involve the potential for remote attackers to disrupt service or bypass security protocols. CVE-2026-64641 describes a high-severity Denial of Service vulnerability specifically affecting applications utilizing the App Router with at least one Server Action. According to the advisory, crafted requests can be leveraged to trigger excessive CPU usage, which effectively blocks the processing of subsequent requests within the same process. This type of resource exhaustion is particularly dangerous for Node.js-based environments where the single-threaded nature of the event loop means that a blocked CPU can lead to a complete standstill of the application instance.
Equally concerning is CVE-2026-64642, a high-severity vulnerability that allows for middleware and proxy bypasses. This flaw manifests in App Router applications built using Turbopack—Vercel’s high-performance Rust-based bundler—specifically when the configuration utilizes a single entry in the config.i18n.locales setting. In such scenarios, an attacker could potentially circumvent authentication or security checks enforced at the middleware or proxy level, gaining unauthorized access to protected routes. This vulnerability highlights the complexities of integrating new build-time optimizations like Turbopack with runtime security features.
Server-Side Request Forgery (SSRF) also features prominently in the high-severity category. CVE-2026-64645 addresses a flaw in the rewrites() and redirects() rules where external destination hostnames are constructed from request-controlled input. Attackers can manipulate these inputs to point the server toward arbitrary hostnames, regardless of the intended suffix. While this enables SSRF in the case of rewrites, it can also be exploited for Open Redirect attacks if used within redirects. Furthermore, CVE-2026-64649 identifies a separate SSRF risk within Server Actions on custom servers. If an attacker can control Host-associated headers during a forward or redirect operation, they can force the server to send outbound requests to malicious hosts, potentially exposing internal network services.
Medium-Severity Risks: Image Optimization and Cache Confusion
While the high-severity issues represent the most immediate threats, the release also mitigates several medium-severity vulnerabilities that could compromise performance and data integrity. CVE-2026-64644 focuses on the Image Optimization API, a staple feature of Next.js that automates the delivery of optimized media. When self-hosting Next.js with the default image loader and remote image optimization enabled, malicious SVGs can be used to cause CPU exhaustion at the /_next/image endpoint. This vulnerability underscores the inherent risks of processing untrusted XML-based formats like SVG in a server-side environment.
The Edge runtime, designed for low-latency executions at the network periphery, was also found to be susceptible to resource issues. CVE-2026-64646 describes an unbounded Server Action payload vulnerability where crafted requests can lead to excessive memory consumption. Given the typically constrained memory environments of Edge functions, such an exploit can lead to rapid service degradation or crashes.
Data privacy and reconnaissance are addressed in CVE-2026-64643 and a pair of cache-related vulnerabilities. The former involves the unauthenticated disclosure of internal Server Function endpoints. An attacker could potentially identify IDs for Server Actions or "use cache" endpoints, providing a roadmap for reconnaissance that could facilitate more complex, multi-stage attacks.
The cache confusion issues, identified as CVE-2026-64648 and CVE-2026-64647, involve the server-side fetch implementation. In certain configurations, a fetch call with a request body might return a cached response intended for a different request if the URLs match but the bodies differ. CVE-2026-64647 specifically notes that this can occur when request bodies contain invalid UTF-8 byte sequences, leading to a collision in the cache key. These flaws are particularly subtle, as they do not result in an immediate crash but rather the delivery of incorrect—and potentially sensitive—data to the wrong user.
Chronology of the Next.js Security Program Evolution
The disclosure of these vulnerabilities follows a strategic shift in how Vercel manages the security of the Next.js ecosystem. For years, Next.js followed a traditional reactive patching model. However, as the framework became the backbone for global e-commerce, banking, and media platforms, the need for a more structured approach became evident.
Last week, Vercel announced the "Next.js Security Release Program." This initiative was designed to eliminate the "surprise" factor often associated with zero-day patches. Under this model, Vercel provides a pre-announcement to the community, signaling that a security update is imminent. This allows organizations to ensure that their security teams are on standby and that their CI/CD pipelines are ready to ingest the new dependencies as soon as they are published.
The timeline for this specific release began with the discovery of the vulnerabilities through Vercel’s Open Source Bug Bounty program on HackerOne. After internal verification and the development of patches, the pre-announcement was issued, leading to today’s simultaneous release across multiple LTS and canary versions. This methodology reflects a maturing ecosystem that prioritizes the stability of production environments over the speed of disclosure.
Technical Analysis: The Risks of Modern Framework Features
The concentration of vulnerabilities within the App Router and Server Actions provides a clear look at the security frontiers of modern web development. Server Actions, which allow developers to write server-side logic that can be called directly from client-side components, effectively blur the line between the frontend and the backend. While this improves developer experience and application performance, it also creates new attack vectors.
The SSRF vulnerabilities (CVE-2026-64645 and CVE-2026-64649) are prime examples of the risks associated with dynamic routing and server-side execution. In a traditional setup, the backend is often shielded by multiple layers of validation. In the "Full Stack" model popularized by Next.js, the server must be exceptionally vigilant about which headers and inputs it trusts, as it frequently acts as a proxy or orchestrator for other services.
The cache confusion issues (CVE-2026-64648 and CVE-2026-64647) also highlight the difficulty of managing state in a highly optimized, cached environment. As Next.js attempts to minimize latency by caching as much as possible—including the results of server-side fetch calls—the logic used to generate cache keys must be robust enough to handle edge cases like invalid UTF-8 sequences. Failure to do so can lead to a breakdown of the "same-origin" or "same-intent" expectations that developers rely on for data security.
Official Response and Community Impact
Vercel has urged all users to update their dependencies immediately. "Please patch your Next.js dependencies to maintain the security of your applications," the company stated in its official advisory. The response from the developer community has been largely positive, particularly regarding the new pre-announcement model. Industry analysts suggest that this move brings Next.js in line with the security standards set by other major open-source projects like Node.js and the Linux kernel.
The Vercel Open Source Bug Bounty program continues to be the primary engine for discovering these flaws. By incentivizing independent security researchers to probe the framework, Vercel is able to identify and fix vulnerabilities before they are exploited in the wild. The company has invited any researchers interested in the framework’s security to participate via the HackerOne platform, emphasizing that transparency and community collaboration are essential to maintaining the trust of millions of developers.
Broader Implications for the Web Ecosystem
The security of Next.js is not just a concern for Vercel; it is a matter of concern for the broader web ecosystem. As of 2024, Next.js accounts for a significant portion of the React-based web, with millions of monthly downloads and a dominant share of the enterprise market. A high-severity vulnerability in the framework has the potential to impact a vast array of digital infrastructure.
This latest round of patches serves as a reminder of the ongoing "arms race" between framework developers and malicious actors. As frameworks become more powerful and abstract away more of the underlying server logic, the surface area for potential attacks grows. The shift toward SSRF and DoS vulnerabilities in this release indicates that attackers are moving away from simple client-side exploits and are instead targeting the orchestration and resource management layers of modern web applications.
For enterprise users, the takeaway is clear: the convenience of "Full Stack" frameworks must be balanced with a rigorous patching schedule. The move to LTS versions (v16 and v15) provides a more stable foundation for companies that cannot afford the churn of frequent major version updates, but even these stable tracks require diligent maintenance. As web architecture continues to evolve toward the edge and serverless execution, the lessons learned from these CVEs will likely inform the design of the next generation of web frameworks.







