Skip to main content

Undici CVE-2026-6733

| EUVDEUVD-2026-37769 LOW
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-06-17 openjs GHSA-35p6-xmwp-9g52
3.7
CVSS 3.1 · Vendor: openjs

Severity by source

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

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.

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

Primary rating from Vendor (openjs).

CVSS VectorVendor: openjs

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Jun 19, 2026 - 16:01 EUVD
Analysis Generated
Jun 17, 2026 - 18:11 vuln.today

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.

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

AnalysisAI

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.

Technical ContextAI

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.

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.

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-6734 HIGH
8.8 Jun 17

Cross-origin request misrouting in undici's Socks5ProxyAgent (introduced in 7.23.0, affecting all releases through 8.1.0

CVE-2026-9675 HIGH
7.5 Jun 17

Denial-of-service in the undici WebSocket client (Node.js HTTP/WebSocket library) version 8.1.0 through versions prior t

Share

CVE-2026-6733 vulnerability details – vuln.today

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