Race condition in Next.js - CVE-2026-119790

 

Race condition in Next.js - CVE-2026-119790

Published: November 4, 2026


Vulnerability identifier: #VU159258
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-119790
CWE-ID: CWE-362
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to disclose cached data associated with other root parameter values in Next.js applications.

The vulnerability exists due to a cross-request deduplication race condition in Next.js caching when a root-parameter-reading 'use cache' function is called both directly during rendering and through unstable_cache(). A remote attacker can send a request through the unstable_cache() path during a concurrent direct cache fill to bypass the root parameter check and cause data for one root parameter value to be cached and returned to requests for other values.

Exploitation requires the unstable_cache() request to arrive while the function's first cache fill after a process start is still in flight.


Affected software

Next.js

How to mitigate CVE-2026-119790

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