Skip to main content

undici CVE-2026-116630

| EUVDEUVD-2026-118184 MEDIUM
Origin Validation Error (CWE-346)
2026-11-06 openjs
5.9
CVSS 3.1 · Vendor: openjs
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify service using shared cache with redirect→cache composition
  2. Delivery
    Induce caching of trusted origin's authenticated response
  3. Exploit
    Influence cross-origin redirect on revalidation request
  4. Execution
    Answer conditional request with 304 Not Modified
  5. Persist
    undici accepts stale cross-origin revalidation
  6. Impact
    Authenticated 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

undici 7.0.0 <7.30.2
undici 8.0.0 <8.12.4

Affected Packages

euvd undici fix: 7.30.2, 8.12.4

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

Vendor (openjs) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.9 MEDIUM

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).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (openjs).

CVSS VectorVendor: openjs

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Nov 06, 2026 - 11:20 EUVD
CVE Published
Nov 06, 2026 - 10:13 cve.org
MEDIUM 5.9

DescriptionCVE.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

EPSS Score
0.1%
Top 96% exploitable
Prevalence
High
undici is Node.js's core HTTP client and backs global fetch, very widely deployed
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Undici

View all
CVE-2022-35949 CRITICAL POC
9.8 Aug 12

undici is an HTTP/1.1 client, written from scratch for Node.js.`undici` is vulnerable to SSRF (Server-side Request Forge

CVE-2026-12151 HIGH POC
7.5 Jun 17

Memory exhaustion denial of service in the undici WebSocket client (versions 6.17.0 and later) allows a malicious or com

CVE-2026-14643 HIGH POC
7.5 Jul 29

Cross-user information disclosure in undici's cache interceptor allows authenticated users' responses to be served from

CVE-2026-16729 MEDIUM POC
6.5 Jul 29

Cookie attribute injection in undici's setCookie function allows attacker-controlled domain values or unparsed array ent

CVE-2022-31151 MEDIUM POC
6.5 Jul 21

Authorization headers are cleared on cross-origin redirect. Rated medium severity (CVSS 6.5), this vulnerability is remo

CVE-2022-32210 MEDIUM POC
6.5 Jul 14

`Undici.ProxyAgent` never verifies the remote server's certificate, and always exposes all request & response data to th

CVE-2026-15157 MEDIUM POC
5.4 Jul 29

CRLF injection in undici's HTTP/1.1 dispatcher enables HTTP header injection and potential request smuggling when applic

CVE-2023-23936 MEDIUM POC
5.4 Feb 16

Undici is an HTTP/1.1 client for Node.js. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable,

CVE-2022-35948 MEDIUM POC
5.3 Aug 15

undici is an HTTP/1.1 client, written from scratch for Node.js.`=< undici@5.8.0` users are vulnerable to _CRLF Injection

CVE-2026-13697 CRITICAL
9.1 Jul 29

Cross-user information disclosure and a parse-time denial of service in undici's HTTP cache interceptor affect versions

CVE-2026-109383 CRITICAL POC
9.1 Oct 15

Certificate pinning and custom TLS identity checks can be silently bypassed in undici versions 4.0.0 through 6.29.0, 7.0

CVE-2026-109829 CRITICAL POC
9.1 Oct 15

Persistent cache poisoning and disclosure of user-specific responses affect undici 7.0.0 through 7.30.0 and 8.0.0 throug

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy