Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-120474 EUVD-2026-118178

undici vulnerable to cross-user cache disclosure via same-origin redirect

Published Nov 6, 2026 · Updated Nov 10, 2026 · Assigned by openjs

Description

undici is an HTTP client for Node.js. In versions 7.0.0 through 7.30.1 and 8.0.0 through 8.12.3, when the redirect interceptor and a shared response cache are used together, an authenticated request that is redirected to a same-origin target has the final response stored under the original request's cache key. That key omits the credential and carries no Vary header, so a later anonymous or different user can be served the first user's private response body. This results in cross-user disclosure of cached private responses. The issue is fixed in undici 7.30.2 and 8.12.4, and users should upgrade to one of those versions or later.

Affected products

VendorProductAffectedFixed
undici undici 7.0.0 – < 7.30.2, 8.0.0 – < 8.12.4 7.30.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-undici No fix yet —
Debian 13 node-undici No fix yet —
Debian 12 node-undici No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-undici No fix yet —
Ubuntu 26.04 LTS node-undici No fix yet —
Ubuntu 24.04 LTS node-undici No fix yet —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nodejs24 +4 1:24.22.3-1.amzn2023.0.1 ALAS2023-2026-3457
Amazon Linux 2023 nodejs24-npm 1:11.19.1-1.24.22.3.1.amzn2023.0.1 ALAS2023-2026-3457
Amazon Linux 2023 v8-13.6-devel 3:13.6.233.17-1.24.22.3.1.amzn2023.0.1 ALAS2023-2026-3457

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 nodejs 24.22.3-1 —

Advisories 1

References