Use of cache containing sensitive information in undici - CVE-2026-120474

 

Use of cache containing sensitive information in undici - CVE-2026-120474

Published: November 6, 2026


Vulnerability identifier: #VU159751
CSH Severity: Medium
CVSS v4: 8.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-120474
CWE-ID: CWE-524
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

undici

How to mitigate CVE-2026-120474

Install security update from vendor's website.

undici - addressed in versions 7.30.2, 8.12.4

External References

Related Security Bulletins