Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify app using originless Agent with shared cache
-
DeliveryControl cross-origin redirect target from trusted URL
-
ExploitTrigger cached request through redirect-then-cache chain
-
ExecutionResponse stored under original trusted key
-
ImpactLater callers served poisoned or private data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
|
| Exploitation Conditions | Exploitable ONLY when all three conditions hold simultaneously: (1) an originless undici Agent (no fixed origin bound to the dispatcher), (2) a shared cache store used across requests/callers, and (3) the redirect interceptor composed BEFORE the cache interceptor so the cache key is computed from the original request URL before the redirect handler rewrites the origin. The attacker must additionally control the target of a redirect originating from a trusted URL the victim application requests. Limiting factors: this interceptor composition is not undici's default behavior, so the vast majority of undici/Node.js deployments are unaffected; vendor-documented workarounds (compose cache before redirect, use per-origin dispatchers/cache stores, or disable shared caching on redirect-capable requests) each independently neutralize the flaw. No authentication or user interaction is required of the eventual victim caller. |
| Impact | The input signals pull in sharply different directions. The vendor CVSS is 9.1 Critical (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N), reflecting network-reachable, unauthenticated impact to both confidentiality (private-data disclosure to later callers) and integrity (persistent cache poisoning). However, every other signal argues this is not a broad-fire priority: EPSS is only 0.15% (4th percentile), CISA SSVC records Exploitation=none and Automatable=no (only Technical Impact=total aligns with the high CVSS), the issue is NOT in CISA KEV, and no public exploit code is referenced. Most importantly, the description makes clear the flaw is reachable only in a narrow, non-default configuration (originless Agent + shared cache store + redirect-then-cache interceptor ordering), which materially undercuts the AC:L rating - in practice the attacker depends on a specific target deployment they do not control, so real-world attack complexity is higher than the vector suggests. Net: a genuinely severe bug for the subset of applications that use this exact composition, but a low-urgency item for the broad Node.js population. Treat as high-impact / low-likelihood: patch promptly where the vulnerable interceptor stack is in use, but it does not warrant emergency wide-fleet response on the strength of the 9.1 alone. |
| Exploit ScenarioDerived | An application uses an originless undici Agent that chains the redirect interceptor before the cache interceptor over a shared cache store. An attacker who controls the destination of a redirect from a trusted URL causes undici to cache their cross-origin response under the original trusted key, so subsequent callers are served the attacker's content (cache poisoning); the same key confusion can cause a private, user-specific redirect response to be stored and later served to an unauthenticated caller, disclosing sensitive data. No public exploit code is referenced, and exploitation requires the specific vulnerable interceptor composition to be present in the target. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 19, 2026
Persistent cache poisoning and disclosure of user-specific responses affect undici 7.0.0 through 7.30.0 and 8.0.0 through 8.12.1 when an originless Agent uses a shared cache store and composes the redirect interceptor before the cache interceptor. An unauthenticated remote attacker who controls the target of a redirect from a trusted URL can have the resulting cross-origin response stored under that trusted URL and served to later callers, or cause a private redirect response to be stored under the original URL and exposed to a later caller. Exploitation requires all three non-default conditions (originless Agent, shared cache store, redirect-before-cache ordering) and attacker control of a redirect target; no public exploit code or active exploitation was identified at time of analysis, and EPSS is 0.15% (4th percentile). Vendor-released patches are undici 7.30.1 and 8.12.2.
Earlier versions of this analysis (1)
Cache poisoning and private-data disclosure in undici affect versions 7.0.0 through 7.30.0 and 8.0.0 through 8.12.1 when an originless Agent, a shared cache store, and a redirect-before-cache interceptor composition are all present. A remote unauthenticated attacker who controls the target of a redirect from a trusted URL can have the redirected response stored under the original trusted URL, causing persistent cache poisoning or exposure of user-specific private data to later callers. This is a conditionally exploitable, non-default configuration issue rather than a drop-everything priority; no public exploit identified at time of analysis, and vendor fixes are available in undici 7.30.1 and 8.12.2.
RemediationAI
Upgrade to undici 7.30.1 or 8.12.2 or later; these vendor-released patches verify that the producing origin still matches the cache key and preserve each redirect hop's cache-control policy before storing. If upgrading is not immediately possible, apply one of the vendor-documented workarounds: compose the cache interceptor before the redirect interceptor so the key is computed after origin rewriting (requires a code change and may alter cache behavior), use per-origin dispatchers and cache stores (isolates keys but increases resource use), or disable shared caching on redirect-capable requests (prevents poisoning and disclosure but removes caching benefits). Details are in the vendor advisory at https://github.com/nodejs/undici/security/advisories/GHSA-4w7w-5xrc-9h26.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
undici is an HTTP client library for Node.js that supports composable interceptors for redirects and caching. The flaw is a CWE-346 origin validation error: when an originless Agent composes the redirect and cache interceptors in that order with a shared cache store, the cache computes its key from the original request URL before the redirect handler rewrites the origin. A response produced after a cross-origin redirect is therefore stored under the original key, and the same key confusion can store a private, non-stored redirect response to a user-specific resource under the original URL. The issue is not undici's default interceptor composition; applications are exposed only when an originless Agent, a shared cache store, and redirect-then-cache ordering are all present, and the attacker must additionally control the target of a redirect from a trusted URL. The CPE cpe:2.3:a:undici:undici:*:*:*:*:*:*:*:* is a broad product match, while EUVD identifies undici 7.0.0 <7.30.1 and 8.0.0 <8.12.2 as affected ranges. Fixed versions verify that the producing origin still matches the cache key and preserve each redirect hop's cache-control policy before storing.
Know when Undici gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
AC:H because the attack depends on a non-default interceptor composition and shared cache in the target plus a redirect from a trusted URL - conditions outside attacker control; PR:N/UI:N as later callers need no auth; C:H/I:H for data disclosure and cache poisoning, A:N.
Primary rating from Vendor (openjs).
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
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.
Blast Radius
ecosystem impact- 28 npm packages depend on undici (16 direct, 23 indirect)
Ecosystem-wide dependent count for version 7.0.0.
Technical POC Analysis
Bug class: CWE-346 (Origin Validation Error), also classified CWE-524 (Use of Cache Containing Sensitive Information).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
Undici, the HTTP client library embedded in many Node.js services, has a critical cache-poisoning and response-disclosure flaw in versions 7.0.0 through 7.30.0 and 8.0.0 through 8.12.1. The issue only affects deployments that combine an originless Agent, a shared cache store, and redirect-before-cache interceptor ordering, but where present it can store a cross-origin or private redirect response under a trusted URL and serve it to later callers. Leadership should care because this can leak sensitive user-specific data or corrupt shared caches in affected services, although no public exploit identified at time of analysis and EPSS is 0.1%.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
undici is an HTTP/1.1 client, written from scratch for Node.js.`undici` is vulnerable to SSRF (Server-side Request Forge
Memory exhaustion denial of service in the undici WebSocket client (versions 6.17.0 and later) allows a malicious or com
Cross-user information disclosure in undici's cache interceptor allows authenticated users' responses to be served from
Cookie attribute injection in undici's setCookie function allows attacker-controlled domain values or unparsed array ent
Authorization headers are cleared on cross-origin redirect. Rated medium severity (CVSS 6.5), this vulnerability is remo
`Undici.ProxyAgent` never verifies the remote server's certificate, and always exposes all request & response data to th
CRLF injection in undici's HTTP/1.1 dispatcher enables HTTP header injection and potential request smuggling when applic
Undici is an HTTP/1.1 client for Node.js. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable,
undici is an HTTP/1.1 client, written from scratch for Node.js.`=< undici@5.8.0` users are vulnerable to _CRLF Injection
Cross-user information disclosure and a parse-time denial of service in undici's HTTP cache interceptor affect versions
Certificate pinning and custom TLS identity checks can be silently bypassed in undici versions 4.0.0 through 6.29.0, 7.0
TLS certificate validation bypass in undici's BalancedPool dispatcher silently discards function-valued options - includ
EUVD-2026-102309
GHSA-4w7w-5xrc-9h26
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB