THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-h694-7cp9-m8p3 (medium) — next.js cache leak across root param values in nested 'use cache' functions

[GHSA] GHSA-h694-7cp9-m8p3 (medium) — next.js cache leak across root param values in nested 'use cache' functions

medgithub_advisoriesPublished 2026-10-22

GHSA-h694-7cp9-m8p3 Severity: medium CVE: CVE-2026-103004

next.js cache leak across root param values in nested 'use cache' functions

### Impact

With Cache Components enabled (`cacheComponents: true`), a `'use cache'` function that calls another `'use cache'` function that reads a root param can be keyed incorrectly when the inner call is served from an existing entry: the enclosing function's

Indicators of compromise

Original source: https://github.com/advisories/GHSA-h694-7cp9-m8p3