MEDIUM · CVSS 4.0 EPSS 0.3% · 11th percentile CWE-349

CVE-2026-119350: Next.js: Cache poisoning of shared fallback shells in Cache Components via request-supplied placeholder route params

Published 2026-11-19 · Updated 2026-11-19 · Also known as GHSA-vvgp-ww4w-46vf

Summary

A cache poisoning vulnerability in Next.js allows unauthenticated users to influence the shared fallback shell cache for certain dynamic routes. Engineering teams running self-hosted Next.js applications should upgrade to version 16.4.5 or enable Partial Prefetching.

Who is affected

The issue affects self-hosted Next.js applications (using 'next start') that have 'cacheComponents' enabled without Partial Prefetching. Exploitation occurs when a dynamic route with specific prerendering conditions processes a malicious request, potentially leading to persistent 404 errors or substituted parameter values being served to other users.

Exploitability

The vulnerability is rated as medium severity and is remotely exploitable without authentication or user interaction. With an EPSS score of 0.002, the threat is currently low, and it is not documented in the CISA Known Exploited Vulnerabilities catalog.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-20. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
npm next >= 16.4.0, < 16.4.5 16.4.5 npm install [email protected]

Tracked tools affected

Next.js · Next.js security advisories · Fixed in Next.js 16.4.5 release notes

CVSS 4.0 vector

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Attack vectorNetwork
Attack complexityLow
Attack requirementsPresent
Privileges requiredNone
User interactionNone
Confidentiality (vulnerable system)None
Integrity (vulnerable system)Low
Availability (vulnerable system)Low
Confidentiality (subsequent systems)None
Integrity (subsequent systems)None
Availability (subsequent systems)None

Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.

FAQ

Can this vulnerability lead to Cross-Site Scripting (XSS) or data disclosure?

No. The description states that no markup or script injection is possible and no data is disclosed.

Does this issue affect applications deployed on Vercel?

The vulnerability specifically describes risks for self-hosted applications served with 'next start'. Not documented if alternative hosting environments are vulnerable.

Is this vulnerability currently being exploited in the wild?

There is no evidence of active exploitation; the CISA KEV status is 'no'.

Original advisory description
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: - A persistent 404, when the layout rejects the value with `notFound()`: served to every URL under the shell key with `"revalidate": false`, across server restarts, with no error logged. - A substituted param value, when the layout renders the value: the server-rendered HTML renders the attacker's value for that param in place of the visitor's own. A JavaScript client corrects it on hydration. No markup or script injection is possible, and no data is disclosed. ### Preconditions 1. `cacheComponents: true` with `partialPrefetching` unset or `false`. 2. Self-hosted serving with `next start`. 3. A dynamic route with a prerenderable param (`generateStaticParams`) whose requested value was not generated at build time. 4. At least two never-prerenderable params below it: a layout reading the shallower one inside a Suspense boundary, and a deeper one the request supplies as the placeholder. 5. A blocking fallback shell. ### Workarounds Set `partialPrefetching: true` in `next.config`. Otherwise, apps should upgrade to the patched version as soon as possible.

References

Source records: GHSA-vvgp-ww4w-46vf (OSV.dev) · EPSS by FIRST, 2026-11-26.