CVE-2026-133890
Awaiting Analysis Awaiting Analysis - Queue

Cross-Origin Redirect Cache Poisoning in Undici

Vulnerability report for CVE-2026-133890, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-05

Last updated on: 2026-12-05

Assigner: openjs

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-05
Last Modified
2026-12-05
Generated
2026-12-06
AI Q&A
2026-12-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 4 associated CPEs
Vendor Product Version / Range
undici undici From 7.30.1 (inc) to 7.30.3 (inc)
undici undici From 8.12.2 (inc) to 8.14.0 (inc)
undici undici 7.30.4
undici undici 8.14.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-524 The code uses a cache that contains sensitive information, but the cache can be read by an actor outside of the intended control sphere.
CWE-346 The product does not properly verify that the source of data or communication is valid.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects the undici HTTP client for Node.js in versions 7.30.1 through 7.30.3 and 8.12.2 through 8.14.0. It involves cache poisoning due to improper handling of protocol-relative redirect paths. When a trusted URL redirects to an attacker-controlled URL with a path starting with '//', undici misinterprets it as a protocol-relative URL, recording the redirect hop as originating from the trusted domain. This allows attackers to cache malicious responses under trusted URLs, leading to data leakage or cache poisoning.

Detection Guidance

Check if your system uses undici versions 7.30.1 through 7.30.3 or 8.12.2 through 8.14.0. Run 'npm list undici' in your project directory to verify the installed version. Inspect application code for use of shared caching mechanisms like MemoryCacheStore or SqliteCacheStore combined with redirect interceptors.

Impact Analysis

An attacker who controls the target of a redirect from a trusted URL can have their response cached under the trusted URL. Subsequent requests to the trusted URL may retrieve the attacker's cached response, leading to data leakage or cache poisoning. This affects applications using shared caching mechanisms like MemoryCacheStore or SqliteCacheStore with the compose(redirect(), cache()) setup.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating confidentiality requirements in GDPR and HIPAA. If attackers cache malicious responses under trusted URLs, they may serve incorrect or malicious data to users, compromising data integrity and potentially exposing personal or health information.

Mitigation Strategies

Upgrade undici to version 7.30.4 or 8.14.1 or later. As a temporary workaround, configure per-origin dispatchers and cache stores or disable shared caching for requests involving redirects.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-133890. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...