CVE-2026-119350: Next Cache Poisoning Of Shared Fallback Vulnerability
MODERATECVE-2026-119350 is a MODERATE cache poisoning of shared fallback vulnerability (CWE-349: Acceptance of Extraneous Untrusted Data With Trusted Data) affecting Next libraries in the npm ecosystem. The issue involves cache poisoning of shared fallback shells in cache components via request-supplied placeholder route params. Remediation is available by upgrading affected packages to version 16.4.5.
CVE-2026-119350 at a Glance
How to Fix CVE-2026-119350
To remediate this vulnerability, upgrade all affected Next dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install next@16.4.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls next
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-119350, inspect your project dependencies using npm:
npm ls next
Analyze the terminal output to locate any version of Next in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 16.4.5), your application is affected.
Note: The npm ls next command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-349: Acceptance of Extraneous Untrusted Data With Trusted Data, where the product, when processing trusted data, accepts any untrusted data that is also included with the trusted data, treating the untrusted data as if it were trusted. In Next, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-119350 Affected Next Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
next
|
npm |
≥ 16.4.0
< 16.4.5
|
16.4.5
|
References
Frequently Asked Questions
What is CVE-2026-119350?
Which Next versions are affected?
What version fixes CVE-2026-119350?
Is next affected?
What CWE is associated with CVE-2026-119350?
How can I check npm dependencies for CVE-2026-119350?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vvgp-ww4w-46vf",
"modified" : "2026-11-19T22:18:08Z",
"published" : "2026-11-19T22:18:08Z",
"aliases" : [ "CVE-2026-119350" ],
"summary" : "Next.js: Cache poisoning of shared fallback shells in Cache Components via request-supplied placeholder route params",
"details" : "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.\n\nSuch 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.\n\nDepending on the application, the stored entry is one of the following:\n\n- 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.\n- 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.\n\n### Preconditions\n\n1. `cacheComponents: true` with `partialPrefetching` unset or `false`.\n2. Self-hosted serving with `next start`.\n3. A dynamic route with a prerenderable param (`generateStaticParams`) whose requested value was not generated at build time.\n4. 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.\n5. A blocking fallback shell.\n\n### Workarounds\n\nSet `partialPrefetching: true` in `next.config`. Otherwise, apps should upgrade to the patched version as soon as possible.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "next"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "16.4.0"
}, {
"fixed" : "16.4.5"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 16.4.4"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/vercel/next.js/security/advisories/GHSA-vvgp-ww4w-46vf"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-119350"
}, {
"type" : "WEB",
"url" : "https://github.com/vercel/next.js/commit/18eeffb5fabd91911852d44cf56948b3f2cbee04"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/vercel/next.js"
}, {
"type" : "WEB",
"url" : "https://github.com/vercel/next.js/releases/tag/v16.4.5"
}, {
"type" : "WEB",
"url" : "https://nextjs.org/blog/november-2026-security-release"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-349" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-11-19T22:18:08Z",
"nvd_published_at" : "2026-11-16T19:17:27Z"
}
}