Self-hosted Next.js applications served with next start and built with cacheComponents: true but without Partial Prefetching accept a request-supplied route param value as a prerender placeholder. One unauthenticated GET request can poison the fallback shell cache entry that a family of routes shares.
Such a route is served from a shell that keeps its never-prerenderable params as placeholders, so every value of those params shares one cache entry. A path segment equal to the percent-encoded, bracketed name of its own route param is treated as an unresolved placeholder, and only that param is deferred. A layout above it then renders its concrete value into the shell during the blocking render, and the result, including its HTTP status, is stored under the shared key.
Depending on the application, the stored entry is one of the following:
notFound(): served to every URL under the shell key with "revalidate": false, across server restarts, with no error logged.cacheComponents: true with partialPrefetching unset or false.next start.generateStaticParams) whose requested value was not generated at build time.Set partialPrefetching: true in next.config. Otherwise, apps should upgrade to the patched version as soon as possible.
{
"cwe_ids": [
"CWE-349"
],
"github_reviewed": true,
"github_reviewed_at": "2026-11-19T22:18:08Z",
"nvd_published_at": "2026-11-16T19:17:27Z",
"severity": "MODERATE"
}