CVE-2026-6734
undici: undici: Information disclosure and data integrity issues due to incorrect Socks5ProxyAgent connection routing
Overview
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.
Source: OX vulnerability database
Severity
8.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-346, CWE-940
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | undici | >=7.23.0, <7.28.0>=8.0.0, <8.2.0 | 7.28.08.2.0 |
Open a package to see all its vulnerabilities.
Operating systems · 76 fixes
Oracle Linux 2 releases · 5 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | npm | 1:11.16.0-1.24.18.0.1.module+el8.10.0+90961+a86f8457 |
| 8 | nodejs +4 | 1:24.18.0-1.module+el8.10.0+90961+a86f8457 |
| 8 | nodejs-packaging +1 | 2021.06-6.module+el8.10.0+90961+a86f8457 |
| 8 | nodejs-nodemon | 3.0.3-1.module+el8.10.0+90961+a86f8457 |
| 8 | v8-13-6-devel | 3:13.6.233.17-1.24.18.0.1.module+el8.10.0+90961+a86f8457 |
| 9 | npm | 1:11.16.0-1.24.18.0.1.module+el9.8.0+90946+13dc792a |
4 more rows
Red Hat 2 releases · 5 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 8 (nodejs:24) | nodejs-packaging +1 | 0:2021.06-6.module+el8.10.0+24190+49a46c75 | RHSA-2026:39868 |
| 8 (nodejs:24) | nodejs-nodemon | 0:3.0.3-1.module+el8.10.0+24190+49a46c75 | RHSA-2026:39868 |
| 8 (nodejs:24) | npm | 1:11.16.0-1.24.18.0.1.module+el8.10.0+24481+7a71fac8 | RHSA-2026:39868 |
| 8 (nodejs:24) | nodejs +4 | 1:24.18.0-1.module+el8.10.0+24481+7a71fac8 | RHSA-2026:39868 |
| 8 (nodejs:24) | v8-13-6-devel | 3:13.6.233.17-1.24.18.0.1.module+el8.10.0+24481+7a71fac8 | RHSA-2026:39868 |
| 9 (nodejs:24) | nodejs-packaging +1 | 0:2021.06-6.module+el9.8.0+24355+35d95b59 | RHSA-2026:35891 |
4 more rows
alma 3 releases · 7 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | nodejs24-npm | 1:11.16.0-1.24.18.0.1.el10_2 |
| 10 | nodejs24-docs | 1:24.18.0-1.el10_2 |
| 8 (nodejs:24) | npm | 1:11.16.0-1.24.18.0.1.module_el8.10.0+4228+2938bc94 |
| 8 (nodejs:24) | nodejs +4 | 1:24.18.0-1.module_el8.10.0+4228+2938bc94 |
| 8 (nodejs:24) | nodejs-packaging +1 | 2021.06-6.module_el8.10.0+4086+70facd4a |
| 8 (nodejs:24) | nodejs-nodemon | 3.0.3-1.module_el8.10.0+4061+f8ceeab9 |
6 more rows
amazon linux 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | nodejs24-npm | 1:11.16.0-1.24.18.0.1.amzn2023.0.1 |
| 2023 | nodejs24 +7 | 1:24.18.0-1.amzn2023.0.1 |
| 2023 | v8-13-6-devel | 3:13.6.233.17-1.24.18.0.1.amzn2023.0.1 |
chainguard 1 release · 13 packages
| Release | Package | Fixed in |
|---|---|---|
| py3-captum | 0.9.0-r1 | |
| commercial-gitlab-rails-ee-19-1 | 19.1.7-r3 | |
| commercial-gitlab-rails-ee-fips-19-1 | 19.1.9-r0 | |
| commercial-gitlab-rails-ee-19-2 +1 | 19.2.7-r1 | |
| commercial-gitlab-rails-ee-19-3 +1 | 19.3.3-r1 | |
| vitess-24 | 24.0.3-r7 |
7 more rows
debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 13 | node-undici | affected |
| 14 | node-undici | 8.5.0+dfsg+~cs3.2.0-1 |
minimos 1 release · 6 packages
| Release | Package | Fixed in |
|---|---|---|
| n8n | 2.28.3-r0 | |
| openclaw | 2026.6.9-r0 | |
| langfuse-3 | 3.194.0-r0 | |
| trigger-dev | 4.5.4-r0 | |
| kibana-9-3 | 9.3.8-r0 | |
| kibana-9-4 | 9.4.4-r0 |
rocky 3 releases · 7 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | nodejs24-npm | 1:11.16.0-1.24.18.0.1.el10_2 |
| 10 | nodejs24 +4 | 1:24.18.0-1.el10_2 |
| 8 (nodejs:24) | npm | 1:11.16.0-1.24.18.0.1.module+el8.10.0+40252+a58646bc |
| 8 (nodejs:24) | nodejs +4 | 1:24.18.0-1.module+el8.10.0+40252+a58646bc |
| 8 (nodejs:24) | nodejs-packaging +1 | 2021.06-6.module+el8.10.0+40048+6d99f608 |
| 8 (nodejs:24) | nodejs-packaging +1 | 2021.06-6.module+el8.10.0+40171+8fa9c325 |
11 more rows
wolfi 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| vitess-24 | 24.0.3-r7 | |
| code-server | 4.125.0-r2 | |
| renovate | 43.247.0-r0 |
References
- access.redhat.com 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
Show all 76 references
- 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
- bugzilla.redhat.com https://bugzilla.redhat.com/2476810
- bugzilla.redhat.com https://bugzilla.redhat.com/2489980
- bugzilla.redhat.com https://bugzilla.redhat.com/2490000
- bugzilla.redhat.com https://bugzilla.redhat.com/2490006
- bugzilla.redhat.com https://bugzilla.redhat.com/2490008
- bugzilla.redhat.com https://bugzilla.redhat.com/2490018
- bugzilla.redhat.com https://bugzilla.redhat.com/2490024
- bugzilla.redhat.com https://bugzilla.redhat.com/2493325
- bugzilla.redhat.com https://bugzilla.redhat.com/2493326
- bugzilla.redhat.com https://bugzilla.redhat.com/2493329
- bugzilla.redhat.com https://bugzilla.redhat.com/2493331
- bugzilla.redhat.com https://bugzilla.redhat.com/2493332
- bugzilla.redhat.com https://bugzilla.redhat.com/2493333
- bugzilla.redhat.com https://bugzilla.redhat.com/2493335
- bugzilla.redhat.com https://bugzilla.redhat.com/2493337
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2476810
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2489980
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2490000
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2490006
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2490008
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2490018
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2490024
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2493325
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2493326
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2493329
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2493331
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2493332
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2493333
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2493335
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2493337
- cna.openjsf.org https://cna.openjsf.org/security-advisories.html
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-11525
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-12151
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42338
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-48615
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-48618
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-48619
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-48928
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-48930
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-48933
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-48934
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-48935
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-6733
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-6734
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-9678
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-9697
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-35891.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:39868
- github.com https://github.com/nodejs/undici
- github.com https://github.com/nodejs/undici/pull/5041
- github.com https://github.com/nodejs/undici/security/advisories/GHSA-hm92-r4w5-c3mj
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-6734.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-39868.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-6734
- security.access.redhat.com https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6734.json
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-6734
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.