Use of cache containing sensitive information in undici - CVE-2026-120474
Published: November 6, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to read another user's private response from a shared cache.
The vulnerability exists due to credential-independent cache keys in undici when an originless Agent uses a shared MemoryCacheStore or SqliteCacheStore with compose(redirect(), cache()) and an authenticated request follows a same-origin redirect to a cacheable per-user response without credential-based variation. An unauthenticated remote attacker can subsequently request the original URL and receive the authenticated user's cached response without contacting the origin.