undici is an HTTP client for Node.js. In versions 7.30.1 through 7.30.3 and 8.12.2 through 8.14.0, the fix for the cross-origin redirect cache poisoning issues CVE-2026-109829 and CVE-2026-116592 stores a response only when every hop in the redirect history is on the cache key's origin, but each hop is recorded by resolving the request path against the origin, which misreads a path beginning with two slashes as a protocol-relative URL. A redirect to an attacker-controlled origin whose path starts with two slashes followed by the trusted host name is therefore recorded as a hop to the trusted origin, so the every-hop origin check passes. An attacker who controls the target of a redirect from a trusted URL, for example through an open redirect, can have their response cached under the trusted URL and served to later callers from the shared cache without either origin being contacted, and the same mis-recorded history lets a cross-origin 304 revalidate the trusted entry, with SqliteCacheStore entries surviving restarts. Applications are affected only when they compose the redirect and cache interceptors with a shared MemoryCacheStore or SqliteCacheStore. The issue is fixed in undici 7.30.4 and 8.14.1, and users should upgrade to one of those versions or later. As a workaround, use per-origin dispatchers and cache stores, or disable shared caching on redirect-capable requests.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sat, 05 Dec 2026 14:15:00 +0000

Type Values Removed Values Added
First Time appeared Undici
Undici undici
Vendors & Products Undici
Undici undici

Sat, 05 Dec 2026 10:30:00 +0000

Type Values Removed Values Added
Description undici is an HTTP client for Node.js. In versions 7.30.1 through 7.30.3 and 8.12.2 through 8.14.0, the fix for the cross-origin redirect cache poisoning issues CVE-2026-109829 and CVE-2026-116592 stores a response only when every hop in the redirect history is on the cache key's origin, but each hop is recorded by resolving the request path against the origin, which misreads a path beginning with two slashes as a protocol-relative URL. A redirect to an attacker-controlled origin whose path starts with two slashes followed by the trusted host name is therefore recorded as a hop to the trusted origin, so the every-hop origin check passes. An attacker who controls the target of a redirect from a trusted URL, for example through an open redirect, can have their response cached under the trusted URL and served to later callers from the shared cache without either origin being contacted, and the same mis-recorded history lets a cross-origin 304 revalidate the trusted entry, with SqliteCacheStore entries surviving restarts. Applications are affected only when they compose the redirect and cache interceptors with a shared MemoryCacheStore or SqliteCacheStore. The issue is fixed in undici 7.30.4 and 8.14.1, and users should upgrade to one of those versions or later. As a workaround, use per-origin dispatchers and cache stores, or disable shared caching on redirect-capable requests.
Title undici vulnerable to cache poisoning and cross-user disclosure via a protocol-relative redirect path
Weaknesses CWE-346
CWE-524
References
Metrics cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: openjs

Published:

Updated: 2026-12-05T10:13:46.992Z

Reserved: 2026-11-20T16:25:45.908Z

Link: CVE-2026-133890

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-12-05T11:17:42.133

Modified: 2026-12-05T11:17:42.273

Link: CVE-2026-133890

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-12-05T14:00:21Z

Weaknesses