Input validation error in Next.js - CVE-2026-119350

 

Input validation error in Next.js - CVE-2026-119350

Published: November 4, 2026


Vulnerability identifier: #VU159254
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-119350
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to poison a shared fallback shell cache, causing persistent 404 responses or substituting a route parameter value in server-rendered pages for other visitors.

The vulnerability exists due to improper validation of request-supplied route parameters in the Next.js Cache Components fallback shell rendering when a path segment containing the percent-encoded, bracketed name of its own route parameter is interpreted as an unresolved prerender placeholder. A remote attacker can send a crafted GET request to cause a layout-rendered parameter value and its HTTP status to be cached under a key shared by a family of routes, resulting in persistent 404 responses or incorrect server-rendered content.

Affected deployments are self-hosted with next start and have cacheComponents enabled with Partial Prefetching disabled or unset.


Affected software

Next.js

How to mitigate CVE-2026-119350

Install security update from vendor's website.

Next.js - addressed in versions 1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.1.1, 1.1.2, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.2.0, 2.3.0, 2.3.1, 2.3.2, 2.4.0, 7.0.0.0, 7.0.1.0, 15.5.29, 16.4.5

External References

Related Security Bulletins