Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain control of upstream HTTP/1.1 server
-
DeliveryComplete legitimate request/response cycle
-
ExploitInject unsolicited HTTP response onto idle keep-alive socket
-
ExecutionClient dispatches next request on same socket
-
PersistInjected response associated with new request
-
ImpactApplication receives attacker-controlled data
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
|
| Exploitation Conditions | Exploitation requires the attacker to control or have compromised the upstream HTTP/1.1 server that the Undici client is communicating with - this is the primary limiting factor and the basis for the AC:H CVSS rating. Keep-alive connection reuse must be enabled, which is the default in Undici's Client and Pool; setting keepAliveTimeout: 0 removes the vulnerable condition entirely. The attack window is the period between completion of one request-response cycle and dispatch of the next request on the same socket. Exploitation is not possible when the upstream server is fully trusted and uncompromised, when connections are not reused (keepAliveTimeout: 0), or when a new TCP connection is established per request. The CVSS PR:N rating reflects that the attacker requires no privileges on the Undici client side - their leverage is upstream server control, not client-side access. |
| Impact | The NVD CVSS base score of 3.7 with vector AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N accurately captures the limited but real-world risk profile. AC:H reflects the non-trivial prerequisite of upstream server control - exploitation is not opportunistic against arbitrary targets but requires the attacker to already influence or compromise the backend server, or to operate in an SSRF-chained or multi-tenant upstream scenario. The I:L rating captures response misrouting, which while classified as low, can have disproportionate impact in high-trust contexts such as internal microservice meshes or payment gateway proxies where response integrity is assumed. No EPSS data, KEV listing, or public POC was included in the provided intelligence; active exploitation probability is therefore unconfirmed but assumed low given the constrained attack conditions. The real-world priority is higher than the raw score suggests for applications proxying to third-party or untrusted upstreams; for applications communicating exclusively with fully trusted, internally controlled servers, risk is genuinely low. |
| Exploit ScenarioDerived | An attacker who controls a backend HTTP/1.1 server targeted by an Undici client responds normally to an initial request, then immediately writes a crafted HTTP response frame onto the now-idle keep-alive socket before it is returned to the pool. When the Undici client dispatches the next unrelated request on that socket, it reads the injected response and delivers the attacker-controlled data to the application as if it were the legitimate reply - potentially poisoning caches, forging authentication tokens, or corrupting business logic outputs. No public POC has been identified, but the technique requires only standard HTTP framing knowledge and server-side write access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 17, 2026
Response queue poisoning in Undici's HTTP/1.1 client allows an attacker-controlled or compromised upstream server to inject unsolicited HTTP responses onto idle keep-alive sockets, causing subsequent outbound requests to receive falsified responses. All Undici versions across the v6, v7, and v8 branches prior to the patched releases are affected when keep-alive connection reuse is active (the default). While the CVSS score is low (3.7) and no public exploit or KEV listing exists, the integrity impact can carry significant business logic consequences in applications that proxy requests through third-party or partially trusted upstream servers.
RemediationAI
Upgrade Undici to v6.26.0, v7.28.0, or v8.5.0 depending on the currently deployed major branch; these are the vendor-confirmed fixed releases per the GitHub Security Advisory GHSA-35p6-xmwp-9g52. If an immediate upgrade is not feasible, the vendor-documented workaround is to disable keep-alive connection reuse by setting keepAliveTimeout: 0 on the Undici Client or Pool instance. This eliminates the injection window entirely but removes TCP connection reuse, increasing per-request latency and connection overhead - a significant trade-off for high-throughput applications. Applications that proxy to untrusted, third-party, or multi-tenant upstream servers should treat the upgrade as elevated priority regardless of the low base score, given that response misrouting in those contexts can corrupt application logic silently.
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 a high-performance HTTP/1.1 client library for Node.js, widely used both directly and as the underlying transport for the Node.js built-in fetch() API. The vulnerability arises from how Undici manages persistent keep-alive connections: after a request-response cycle completes, the socket is returned to the connection pool for reuse. CWE-367 (Time-of-check Time-of-use) is assigned, reflecting a race condition in the window between a socket becoming idle and the client dispatching the next request on it. An attacker who controls the upstream HTTP/1.1 server exploits this window by injecting a crafted, unsolicited HTTP response onto the idle socket. When Undici dispatches the next request on that socket, it associates the pre-injected response with the new request, silently delivering attacker-controlled data to the application. The affected CPE cpe:2.3:a:undici:undici:*:*:*:*:*:*:*:* covers all versions prior to the fixes.
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:N/I:L/A:N
Upstream server control is a genuine non-trivial prerequisite (AC:H); no client-side privileges are required (PR:N); impact is limited to response integrity misrouting with no confidentiality or availability consequence.
Primary rating from Vendor (openjs).
CVSS VectorVendor: openjs
Lifecycle Timeline
1DescriptionCVE.org
Impact: Undici's HTTP/1.1 client is vulnerable to response queue poisoning on reused keep-alive sockets. An attacker-controlled upstream server can inject an unsolicited HTTP/1.1 response onto an idle socket after a request completes. When the client dispatches the next request on that socket, it associates the injected response with the new request, causing responses to be delivered to the wrong requests.
This requires an attacker-controlled or compromised upstream HTTP/1.1 server and keep-alive connection reuse.
Patches: Upgrade to undici v6.26.0, v7.28.0 or v8.5.0.
Workarounds: Disable keep-alive connection reuse by setting keepAliveTimeout: 0 on the Client or Pool.
Blast Radius
ecosystem impact- 28 npm packages depend on undici (16 direct, 23 indirect)
Ecosystem-wide dependent count for version 7.0.0.
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
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
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-37769
GHSA-35p6-xmwp-9g52
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB