Intel

AIKIDO-2026-539536

next is vulnerable to Information Disclosure

CVE-2026-119351Published 3 days ago
November 4, 2026

63

CVE Score

Medium

Information Disclosure

Are you affected? Scan for Free

TL;DR

With Cache Components enabled, an outer use cache function can omit a root param from its cache key when a nested use cache function reads it through next/root-params and returns pending promises. This causes the outer cache entry to be reused across different root param values, potentially serving content generated for one value to requests using another. It can also bypass tag invalidation and nested cache lifetimes. The leaked values cannot be chosen by an attacker.

How do I fix this?

Upgrade the next library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range, have Cache Components enabled, and have nested use cache functions where the inner function reads a root param via next/root-params and returns a value containing pending promises.

Package

Versions

16.2.0 - 16.4.4

Fixed in 16.4.5

Background info

next is vulnerable to Information Disclosure in versions 16.2.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