CVE-2026-133890: undici vulnerable to cache poisoning and cross-user disclosure via a protocol-relative redirect path

Published Dec 5, 2026
·
Updated

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.

Affected Software

1 affected component
npm/undici>=7.30.1<=7.30.3, >=8.12.2<=8.14.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade undici to a version that resolves this vulnerability.

    Fixed in 7.30.4
  2. Upgrade

    Upgrade undici to a version that resolves this vulnerability.

    Fixed in 8.14.1
  3. Compensating control

    Use per-origin dispatchers and cache stores.

  4. Compensating control

    Disable shared caching on redirect-capable requests.

Event History

Dec 5, 2026
CVE Published
via MITRE·10:13 AM
Data Sourced
via MITRE·10:13 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Applications are affected only when they compose undici's redirect and cache interceptors with a shared MemoryCacheStore or SqliteCacheStore. SqliteCacheStore entries can survive application restarts.

2

What does an attacker need to exploit this?

The attacker must control the target of a redirect from a trusted URL, such as through an open redirect. The redirect target must use a path beginning with two slashes followed by the trusted host name so that redirect history is recorded as trusted.

3

What is the practical impact after exploitation?

An attacker-controlled response can be cached under a trusted URL and then served to later callers from the shared cache without contacting either the trusted or attacker-controlled origin. A cross-origin 304 response can also revalidate the trusted cached entry.

4

What can be done before updating?

Avoid composing the redirect and cache interceptors with a shared MemoryCacheStore or SqliteCacheStore. Review trusted URLs that can redirect to attacker-controlled destinations, including open redirects.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203