Skip to main content

undici CVE-2026-109829

| EUVDEUVD-2026-102309 CRITICAL
Origin Validation Error (CWE-346)
2026-10-15 openjs GHSA-4w7w-5xrc-9h26
9.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Identify app using originless Agent with shared cache
  2. Delivery
    Control cross-origin redirect target from trusted URL
  3. Exploit
    Trigger cached request through redirect-then-cache chain
  4. Execution
    Response stored under original trusted key
  5. Impact
    Later 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
1 PoC candidate (unverified) Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – 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)
v1 Oct 15, 2026 - 19:06 CVSS 7.4

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

undici 8.0.0 <8.12.2
undici 7.0.0 <7.30.1

Affected Packages

npm undici fix: 7.30.1, 8.12.2

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

Vendor (openjs) PRIMARY HIGH
NVD 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 7.4 HIGH

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.

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

Primary rating from Vendor (openjs).

CVSS VectorNVD

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

Lifecycle Timeline

5
Analysis Updated
Oct 19, 2026 - 20:58 vuln.today
v2 - CVSS changed
Severity Changed
Oct 19, 2026 - 20:53 NVD
HIGH CRITICAL
CVSS changed
Oct 19, 2026 - 20:53 NVD
7.4 (HIGH) 9.1 (CRITICAL)
Patch available
Oct 15, 2026 - 20:03 EUVD
CVE Published
Oct 15, 2026 - 18:28 cve.org
HIGH 7.4

DescriptionNVD

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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 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

Why It Matters

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

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
High
undici is Node.js's core HTTP client, bundled and widely deployed
Threat Intel
1
1 sources
Data Quality
7 sources
Confidence: High
EUVD 🇯🇵JVN NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

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 CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

66
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: +20
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-84961 CRITICAL
9.1 Sep 04

TLS certificate validation bypass in undici's BalancedPool dispatcher silently discards function-valued options - includ

Vendor StatusVendor

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