Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify service using shared cache with redirect→cache composition
-
DeliveryInduce caching of trusted origin's authenticated response
-
ExploitInfluence cross-origin redirect on revalidation request
-
ExecutionAnswer conditional request with 304 Not Modified
-
Persistundici accepts stale cross-origin revalidation
-
ImpactAuthenticated response served to unauthenticated caller
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
|
| Exploitation Conditions | Exploitation requires a very specific non-default setup: an undici Agent using a shared cache store (MemoryCacheStore or SqliteCacheStore with type:'shared') with interceptors composed as compose(redirect(), cache()) - the reverse order compose(cache(), redirect()) is explicitly NOT affected. The stored entry must follow the RFC 9111 must-revalidate model (e.g. an Authorization-gated response), and the attacker must be able to influence a cross-origin redirect of the conditional revalidation request to an origin they control that returns 304 Not Modified. Limiting factors: the vulnerable interceptor composition and shared cache are opt-in, not undici defaults; the attacker needs control over or influence of a cross-origin redirect from the trusted origin; and impact is confined to disclosure of already-cached responses. The only complete fix is upgrading to 7.30.2 or 8.12.4; workarounds per the advisory are composing as compose(cache(), redirect()), using per-origin dispatchers and cache stores, or disabling shared caching on redirect-capable requests. |
| Impact | This is a genuine but conditional information-disclosure flaw (CWE-346 origin validation error / CWE-524), not an inflated high-CVSS issue. The supplied CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N, base 5.9) is internally consistent with the description: network reachable and unauthenticated for the victimized caller (PR:N), but high complexity (AC:H) because exploitation depends on a specific undici interceptor composition plus an attacker-influenced cross-origin redirect that answers with 304. Impact is confidentiality-only (C:H, I/A:N), matching the disclosure of a cached, Authorization-gated response. No EPSS score and no KEV listing were provided, and no proof-of-concept or exploit reference appears in the input - so there is no public exploit identified at time of analysis and no evidence of active exploitation. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a real-but-not-urgent priority: the vulnerability is confirmed by the OpenJS/undici GHSA advisory, yet realistic exploitation is gated by non-default configuration. Net: a legitimate confidentiality risk for the narrow set of deployments that use shared caching composed with redirect, and a low concern for everyone else. |
| Exploit ScenarioDerived | A Node.js service uses undici with a shared cache store and composes its interceptors as compose(redirect(), cache()), caching an authenticated response from trusted origin A. When undici later issues a conditional revalidation (If-None-Match/If-Modified-Since) for that entry and origin A redirects it cross-origin to attacker-controlled origin B, B answers 304 Not Modified; undici accepts it as valid revalidation and replays A's stored Authorization-gated body to a subsequent unauthenticated caller. No public exploit code is identified at time of analysis, and the attack requires the attacker to influence the cross-origin redirect on the revalidated request. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 06, 2026
Cross-user information disclosure in the undici HTTP client for Node.js (7.0.0 through 7.30.1 and 8.0.0 through 8.12.3) lets a shared cache serve one origin's stored authenticated response to a later, different caller. When an Agent uses a shared MemoryCacheStore or SqliteCacheStore with interceptors composed as compose(redirect(), cache()), a cross-origin redirect of a conditional revalidation request carries the original origin's If-None-Match or If-Modified-Since validator to the redirect destination, whose 304 Not Modified is wrongly accepted as revalidation of the stored representation. Exploitation is unauthenticated per the CVSS vector but requires a non-default opt-in configuration plus attacker influence over a cross-origin redirect; no public exploit code was identified at time of analysis, and the vendor-released fixes are undici 7.30.2 and 8.12.4.
RemediationAI
Upgrade to undici 7.30.2 or 8.12.4 (or later) - the only complete fix, since the patched release adds origin/path and validator matching for revalidation 304 responses and evicts plus refetches without cache-generated validators when the check fails. Where upgrading is not immediately possible, the advisory lists three workarounds: invert the interceptor order to compose(cache(), redirect()), which is not affected but changes how cached redirects are handled; use per-origin dispatchers and cache stores so a redirected revalidation can no longer reach a cache key belonging to another origin, at the cost of losing cross-origin cache sharing; or disable shared caching entirely on redirect-capable requests, which removes the disclosure path but also removes the caching benefit for those requests. Full details and the fixed version matrix are in the advisory at https://github.com/nodejs/undici/security/advisories/GHSA-5rm8-gv32-r954 and the CNA listing at https://cna.openjsf.org/security-advisories.html.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
undici is Node.js's HTTP/1.1 client, and its cache interceptor (introduced in 7.0.0) implements RFC 9111 semantics, including the must-revalidate model in which an authenticated response may be stored provided it is revalidated before each reuse. The root cause is an origin validation error (CWE-346) compounded by use of a cache holding sensitive information (CWE-524): the redirect handler strips origin-bound credential headers such as Authorization when following a redirect, but does not strip the cache-generated conditional validators If-None-Match and If-Modified-Since. A revalidation request therefore reaches a different origin carrying origin A's validator, and undici accepts that origin's 304 Not Modified as proof that A's stored representation is still fresh, replaying A's cached body - including a response gated by Authorization - to a subsequent unauthenticated caller. Affected configurations are limited to an Agent composing compose(redirect(), cache()) with a shared MemoryCacheStore or SqliteCacheStore and type:'shared'; the reverse composition compose(cache(), redirect()) is explicitly not affected, and neither the shared cache nor that interceptor ordering is an undici default. The patch in 7.30.2 and 8.12.4 rejects a revalidation 304 whose final response origin and path do not match the cache key and requires the validator returned by a 304 to match the cached representation; a failed revalidation evicts the entry and refetches without the cache-generated validators.
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:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Network-reachable and unauthenticated for the victimized caller (PR:N), but AC:H due to the required shared-cache redirect→cache composition and attacker-influenced cross-origin 304; confidentiality-only impact (C:H, I/A:N).
Primary rating from Vendor (openjs).
CVSS VectorVendor: openjs
Lifecycle Timeline
2DescriptionCVE.org
undici is an HTTP client for Node.js. In versions 7.0.0 through 7.30.1 and 8.0.0 through 8.12.3, when an Agent composes the redirect and shared cache interceptors, a cached response that is revalidated with a conditional request can be validated by a 304 Not Modified from a different origin. When the origin that stored the response redirects the conditional revalidation request to another origin, the redirect handler strips origin-bound credential headers but not the cache-generated If-None-Match or If-Modified-Since validators, so the redirect destination receives the original origin's validator and undici treats its 304 as successful revalidation of the stored representation. As a result, a shared cache can serve the original origin's stored authenticated response, including one gated by Authorization, to a later unauthenticated caller. The issue is fixed in undici 7.30.2 and 8.12.4, and users should upgrade to one of those versions or later. As a workaround, compose the interceptors as cache then redirect, use per-origin dispatchers and cache stores, or disable shared caching on redirect-capable requests.
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
Persistent cache poisoning and disclosure of user-specific responses affect undici 7.0.0 through 7.30.0 and 8.0.0 throug
EUVD-2026-118184
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB