Skip to content
OpenAdvisories
High · 7.4 CVE-2026-109829 EUVD-2026-102309GHSA-4w7w-5xrc-9h26

undici vulnerable to cache poisoning and cross-user disclosure via cross-origin redirects

Published Oct 15, 2026 · Updated Oct 16, 2026 · Assigned by openjs

Description

undici is an HTTP client library for Node.js. In versions 7.0.0 through 7.30.0 and 8.0.0 through 8.12.1, when an originless Agent composes the redirect and cache interceptors in that order with a shared cache store, the cache builds its key from the original request URL before the redirect handler changes the origin, so a response produced after a cross-origin redirect is stored under the original key. An attacker who controls the target of a redirect from a trusted URL can have their response cached under that trusted URL and served to later callers, allowing persistent cache poisoning, and the same key confusion lets a private, non-stored redirect response to a user-specific resource be stored under the original URL and served to a later unauthenticated caller, disclosing private data. Applications are affected only when an originless Agent, a shared cache store, and the redirect-then-cache composition are all used. The issue is fixed in undici 7.30.1 and 8.12.2, which verify the producing origin still matches the cache key and preserve each redirect hop's cache-control policy before storing, and users should upgrade to one of those versions or later. As a workaround, compose the cache interceptor before the redirect interceptor, use per-origin dispatchers and cache stores, or disable shared caching on redirect-capable requests.

Affected products

VendorProductAffectedFixed
undici undici 7.0.0 – < 7.30.1, 8.0.0 – < 8.12.2 7.30.1

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 8.12.2+dfsg+~cs3.2.3-1 —
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 —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 nodejs24 +6 24.21.0-1.5.hum1 RHSA-2026:84706
Red Hat Hardened Images 1 nodejs24-npm 11.19.0-1.24.21.0.1.5.hum1 RHSA-2026:84706
Red Hat Hardened Images 1 v8-13.6-devel 13.6.233.17-1.24.21.0.1.5.hum1 RHSA-2026:84706

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 nodejs +4 1:22.23.4-1.el10_2 ALSA-2026:96094
AlmaLinux 10 nodejs-npm 1:10.9.9-1.22.23.4.1.el10_2 ALSA-2026:96094
AlmaLinux 10 nodejs24 +4 1:24.22.1-3.el10_2 ALSA-2026:96088
AlmaLinux 10 nodejs24-npm 2:11.19.1-1.24.22.1.3.el10_2 ALSA-2026:96088
AlmaLinux 8 nodejs +4 1:22.23.4-2.module_el8.10.0+4358+709b81be ALSA-2026:98113
AlmaLinux 8 nodejs-nodemon 3.1.14-3.module_el8.10.0+4358+709b81be ALSA-2026:98113
AlmaLinux 8 nodejs-packaging +1 2021.06-6.module_el8.10.0+4158+e796f37f ALSA-2026:98113
AlmaLinux 8 npm 1:10.9.9-1.22.23.4.2.module_el8.10.0+4358+709b81be ALSA-2026:98113
AlmaLinux 8 v8-12.4-devel 3:12.4.254.21-1.22.23.4.2.module_el8.10.0+4358+709b81be ALSA-2026:98113

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 nodejs22 1:22.23.4-1.el10_2 RLSA-2026:96094
Rocky Linux 10 nodejs24 1:24.22.1-3.el10_2 RLSA-2026:96088
Rocky Linux 9 nodejs-nodemon 3.1.14-2.module+el9.8.0+40264+d9b257bb RLSA-2026:98522
Rocky Linux 9 nodejs-packaging 2021.06-6.module+el9.7.0+40052+e32ea525 RLSA-2026:98522
Rocky Linux 8 nodejs-packaging 2021.06-6.module+el8.10.0+40048+6d99f608 RLSA-2026:98113

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nodejs24 +4 1:24.22.1-1.amzn2023.0.1 ALAS2023-2026-3330
Amazon Linux 2023 nodejs24-npm 1:11.19.1-1.24.22.1.1.amzn2023.0.1 ALAS2023-2026-3330
Amazon Linux 2023 v8-13.6-devel 3:13.6.233.17-1.24.22.1.1.amzn2023.0.1 ALAS2023-2026-3330

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 nodejs +4 1:22.23.4-1.el10_2 ELSA-2026-96094
Oracle Linux 10 nodejs-npm 1:10.9.9-1.22.23.4.1.el10_2 ELSA-2026-96094

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling node-gyp 13.1.0-r1 —
Wolfi rolling renovate 44.198.3-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm undici >= 7.0.0, < 7.30.1 7.30.1 GHSA-4w7w-5xrc-9h26
npm undici >= 8.0.0, < 8.12.2 8.12.2 GHSA-4w7w-5xrc-9h26

Advisories 10

References