Unauthenticated Request Vulnerability in Next.js Framework by Vercel
CVE-2026-119350
What is CVE-2026-119350?
Next.js, a popular framework for building full-stack web applications, has a vulnerability where self-hosted applications served with next start can be susceptible to unauthenticated requests. This occurs in versions from 16.4.0 to 16.4.5, specifically when the cacheComponents option is enabled, and the partialPrefetching is either unset or set to false. The vulnerability allows an attacker to manipulate the shared fallback shell of the application if certain route conditions are met. This includes cases where at least one prerenderable parameter, declared by generateStaticParams, is not generated during build time. Furthermore, it requires two non-prerenderable parameters, along with a layout that utilizes these parameters within a Suspense boundary. The end result can lead to shared HTTP status responses across routes, potentially exposing users to misleading content, although it does not permit markup or script injection. The issue has been resolved in Next.js version 16.4.5.
Affected Version(s)
next.js >= 16.4.0, < 16.4.5