Impact:
When using Socks5ProxyAgent, undici reuses a single connection pool across different origins without verifying that the pool's origin matches the requested origin. All requests are dispatched through the pool connected to the first origin, regardless of the intended destination.
This causes cross-origin request routing: credentials and request data intended for origin B are sent to origin A, responses from the wrong origin are trusted, and HTTPS requests may be silently downgraded to HTTP.
Impacted users are applications that use Socks5ProxyAgent (directly or via setGlobalDispatcher) and make requests to more than one origin.
This was introduced in undici 7.23.0 via PR #4385 and affects all versions through 8.1.0.
Patches:
Upgrade to undici v7.26.0 or v8.2.0.
Workarounds:
Use a separate Socks5ProxyAgent instance per origin, or avoid using Socks5ProxyAgent with multiple origins.
References
Configurations
Configuration 1 (hide)
|
History
21 Jul 2026, 12:19
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
16 Jul 2026, 12:18
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
15 Jul 2026, 03:16
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
13 Jul 2026, 13:16
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
09 Jul 2026, 13:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
07 Jul 2026, 12:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
06 Jul 2026, 13:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
02 Jul 2026, 12:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
30 Jun 2026, 03:21
| Type | Values Removed | Values Added |
|---|---|---|
| CWE | CWE-940 | |
| References |
|
27 Jun 2026, 23:49
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:* | |
| First Time |
Nodejs
Nodejs undici |
|
| References | () https://cna.openjsf.org/security-advisories.html - Vendor Advisory | |
| References | () https://github.com/nodejs/undici/security/advisories/GHSA-hm92-r4w5-c3mj - Mitigation, Vendor Advisory |
17 Jun 2026, 20:20
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-17 18:18
Updated : 2026-07-21 12:19
NVD link : CVE-2026-6734
Mitre link : CVE-2026-6734
CVE.ORG link : CVE-2026-6734
JSON object : View
Products Affected
nodejs
- undici
