CVEvulnerability
CVE-2026-6734
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2026-06-17
- Last modified
- 2026-09-10
- Assigner
- ce714d77-add3-4f53-aff5-83d477b104bb
- CVSS 3.1 (ce714d77-add3-4f53-aff5-83d477b104bb)
- 7.5 HIGH — CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 (0b0ca135-0b70-47e7-9f44-1890c2a1c46c)
- 7.5 HIGH — CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-346, CWE-940
Description
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.
Affected configurations
• nodejs undici (>= 7.23.0 < 7.28.0)
• nodejs undici (>= 8.0.0 < 8.2.0)
Related
References
- https://cna.openjsf.org/security-advisories.html Vendor Advisory
- https://github.com/nodejs/undici/security/advisories/GHSA-hm92-r4w5-c3mj Mitigation, Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:22380 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:22934 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:34342 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:35841 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:35891 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:36754 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:36820 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:38236 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:39868 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:41929 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:48124 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:48151 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:56366 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:56431 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:57013 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:60520 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:65126 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:7378 access.redhat.com
- https://access.redhat.com/security/cve/CVE-2026-6734 access.redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2490024 bugzilla.redhat.com
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6734.json security.access.redhat.com