Intel

AIKIDO-2026-922418

next is vulnerable to Information Disclosure

CVE-2026-119790Published Nov 3, 2026
November 3, 2026

78

CVE Score

High

Information Disclosure

Are you affected? Scan for Free

TL;DR

A race condition in next lets data cached by a use cache function leak across root params (for example, between locales). It happens when the same function is called both directly during rendering and through unstable_cache(), and it reads a root param. During a cold process start, an unstable_cache() call can join the in-flight fill of a concurrent direct call and receive its result, bypassing the root param check. unstable_cache() then stores that result under a cache key without root params, so later requests for other root param values receive the same entry until it is revalidated or evicted.

How do I fix this?

Upgrade next to version 16.4.5 or later. If you cannot upgrade, do not call use cache functions through unstable_cache(); outside the race, this nesting already throws the error use cache inside unstable_cache() is unsupported, and avoiding it fully mitigates the issue.

Who does this affect?

You are affected if you use a version within the vulnerable range, use use cache functions that read a root param, and call the same function both directly during rendering and through unstable_cache(). Exploitation requires the unstable_cache() request to arrive while the function's first fill after a process start is still in flight.

Package

Versions

16.3.0 - 16.4.4

Fixed in 16.4.5

Background info

next is vulnerable to Information Disclosure in versions 16.3.0 - 16.4.4.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea