CVE-2026-6734

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

Configuration 1 (hide)

OR cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:*
cpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:*

History

21 Jul 2026, 12:19

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:41929 -

16 Jul 2026, 12:18

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:38236 -
  • () https://access.redhat.com/errata/RHSA-2026:39868 -

15 Jul 2026, 03:16

Type Values Removed Values Added
References
  • {'url': 'https://access.redhat.com/errata/RHSA-2026:38236', 'source': '0b0ca135-0b70-47e7-9f44-1890c2a1c46c'}

13 Jul 2026, 13:16

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:38236 -

09 Jul 2026, 13:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:36754 -
  • () https://access.redhat.com/errata/RHSA-2026:36820 -

07 Jul 2026, 12:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:35891 -

06 Jul 2026, 13:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:35841 -

02 Jul 2026, 12:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:34342 -

30 Jun 2026, 03:21

Type Values Removed Values Added
CWE CWE-940
References
  • () https://access.redhat.com/errata/RHSA-2026:22380 -
  • () https://access.redhat.com/errata/RHSA-2026:22934 -
  • () https://access.redhat.com/errata/RHSA-2026:7378 -
  • () https://access.redhat.com/security/cve/CVE-2026-6734 -
  • () https://bugzilla.redhat.com/show_bug.cgi?id=2490024 -
  • () https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6734.json -

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 - () https://cna.openjsf.org/security-advisories.html - Vendor Advisory
References () https://github.com/nodejs/undici/security/advisories/GHSA-hm92-r4w5-c3mj - () 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
CWE
CWE-346

Origin Validation Error

CWE-940

Improper Verification of Source of a Communication Channel