CVE-2026-6734undici vulnerable to cross-origin request routing via SOCKS5 proxy pool reuse
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.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, npm: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-undici | Fix pending | UBUNTU-CVE-2026-6734 | |
| Ubuntu 26.04 | node-undici | Under investigation | UBUNTU-CVE-2026-6734 | |
| Ubuntu 25.10 | node-undici | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-6734 | |
| Ubuntu 24.04 | node-undici | Under investigation | UBUNTU-CVE-2026-6734 | |
| Debian 14 | node-undici | Fixed | 8.5.0+dfsg+~cs3.2.0-1 | DEBIAN-CVE-2026-6734 |
| Debian 13 | node-undici | Fix pending | DEBIAN-CVE-2026-6734 | |
| Red Hat Enterprise Linux 10 | nodejs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs-docs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs-full-i18n | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs-npm | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs22 | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs24 | Fixed | 1:24.18.0-1.el10_2 | RHSA-2026:35841 |
| Red Hat Enterprise Linux 10 | nodejs24-devel | Fixed | 1:24.18.0-1.el10_2 | RHSA-2026:35841 |
| Red Hat Enterprise Linux 10 | nodejs24-docs | Fixed | 1:24.18.0-1.el10_2 | RHSA-2026:35841 |
| Red Hat Enterprise Linux 10 | nodejs24-full-i18n | Fixed | 1:24.18.0-1.el10_2 | RHSA-2026:35841 |
| Red Hat Enterprise Linux 10 | nodejs24-libs | Fixed | 1:24.18.0-1.el10_2 | RHSA-2026:35841 |
| Red Hat Enterprise Linux 10 | nodejs24-npm | Fixed | 1:11.16.0-1.24.18.0.1.el10_2 | RHSA-2026:35841 |
| Red Hat Enterprise Linux 9 | nodejs | Fixed | 1:24.18.0-1.module+el9.8.0+24456+b244c3b4 | RHSA-2026:35891 |
| Red Hat Enterprise Linux 9 | nodejs-devel | Fixed | 1:24.18.0-1.module+el9.8.0+24456+b244c3b4 | RHSA-2026:35891 |
| Red Hat Enterprise Linux 9 | nodejs-docs | Fixed | 1:24.18.0-1.module+el9.8.0+24456+b244c3b4 | RHSA-2026:35891 |
| Red Hat Enterprise Linux 9 | nodejs-full-i18n | Fixed | 1:24.18.0-1.module+el9.8.0+24456+b244c3b4 | RHSA-2026:35891 |
| Red Hat Enterprise Linux 9 | nodejs-libs | Fixed | 1:24.18.0-1.module+el9.8.0+24456+b244c3b4 | RHSA-2026:35891 |
| Red Hat Enterprise Linux 9 | nodejs-nodemon | Fixed | 0:3.0.3-3.module+el9.8.0+24355+35d95b59 | RHSA-2026:35891 |
| Red Hat Enterprise Linux 9 | nodejs-packaging | Fixed | 0:2021.06-6.module+el9.8.0+24355+35d95b59 | RHSA-2026:35891 |
| Red Hat Enterprise Linux 9 | nodejs-packaging-bundler | Fixed | 0:2021.06-6.module+el9.8.0+24355+35d95b59 | RHSA-2026:35891 |
| Red Hat Enterprise Linux 9 | npm | Fixed | 1:11.16.0-1.24.18.0.1.module+el9.8.0+24456+b244c3b4 | RHSA-2026:35891 |
| Red Hat Enterprise Linux 9 | v8-13.6-devel | Fixed | 3:13.6.233.17-1.24.18.0.1.module+el9.8.0+24456+b244c3b4 | RHSA-2026:35891 |
| Red Hat Enterprise Linux 8 | nodejs | Fixed | 1:24.18.0-1.module+el8.10.0+24481+7a71fac8 | RHSA-2026:39868 |
| Red Hat Enterprise Linux 8 | nodejs-devel | Fixed | 1:24.18.0-1.module+el8.10.0+24481+7a71fac8 | RHSA-2026:39868 |
| Red Hat Enterprise Linux 8 | nodejs-docs | Fixed | 1:24.18.0-1.module+el8.10.0+24481+7a71fac8 | RHSA-2026:39868 |
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | Fixed | 1:24.18.0-1.module+el8.10.0+24481+7a71fac8 | RHSA-2026:39868 |
| Red Hat Enterprise Linux 8 | nodejs-libs | Fixed | 1:24.18.0-1.module+el8.10.0+24481+7a71fac8 | RHSA-2026:39868 |
| Red Hat Enterprise Linux 8 | nodejs-nodemon | Fixed | 0:3.0.3-1.module+el8.10.0+24190+49a46c75 | RHSA-2026:39868 |
| Red Hat Enterprise Linux 8 | nodejs-packaging | Fixed | 0:2021.06-6.module+el8.10.0+24190+49a46c75 | RHSA-2026:39868 |
| Red Hat Enterprise Linux 8 | nodejs-packaging-bundler | Fixed | 0:2021.06-6.module+el8.10.0+24190+49a46c75 | RHSA-2026:39868 |
| Red Hat Enterprise Linux 8 | npm | Fixed | 1:11.16.0-1.24.18.0.1.module+el8.10.0+24481+7a71fac8 | RHSA-2026:39868 |
| Red Hat Enterprise Linux 8 | v8-12.4-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | v8-13.6-devel | Fixed | 3:13.6.233.17-1.24.18.0.1.module+el8.10.0+24481+7a71fac8 | RHSA-2026:39868 |
| AlmaLinux 10 | nodejs24-docs | Fixed | 1:24.18.0-1.el10_2 | ALSA-2026:35841 |
| AlmaLinux 10 | nodejs24-npm | Fixed | 1:11.16.0-1.24.18.0.1.el10_2 | ALSA-2026:35841 |
| AlmaLinux 9 | nodejs | Fixed | 1:24.18.0-1.module_el9.8.0+277+61fc613e | ALSA-2026:35891 |
| AlmaLinux 9 | nodejs-devel | Fixed | 1:24.18.0-1.module_el9.8.0+277+61fc613e | ALSA-2026:35891 |
| AlmaLinux 9 | nodejs-docs | Fixed | 1:24.18.0-1.module_el9.8.0+277+61fc613e | ALSA-2026:35891 |
| AlmaLinux 9 | nodejs-full-i18n | Fixed | 1:24.18.0-1.module_el9.8.0+277+61fc613e | ALSA-2026:35891 |
| AlmaLinux 9 | nodejs-libs | Fixed | 1:24.18.0-1.module_el9.8.0+277+61fc613e | ALSA-2026:35891 |
| AlmaLinux 9 | nodejs-nodemon | Fixed | 3.0.3-3.module_el9.7.0+209+ecf6523e | ALSA-2026:35891 |
| AlmaLinux 9 | nodejs-packaging | Fixed | 2021.06-6.module_el9.7.0+209+ecf6523e | ALSA-2026:35891 |
| AlmaLinux 9 | nodejs-packaging-bundler | Fixed | 2021.06-6.module_el9.7.0+209+ecf6523e | ALSA-2026:35891 |
| AlmaLinux 9 | npm | Fixed | 1:11.16.0-1.24.18.0.1.module_el9.8.0+277+61fc613e | ALSA-2026:35891 |
| AlmaLinux 9 | v8-13.6-devel | Fixed | 3:13.6.233.17-1.24.18.0.1.module_el9.8.0+277+61fc613e | ALSA-2026:35891 |
| AlmaLinux 8 | nodejs | Fixed | 1:24.18.0-1.module_el8.10.0+4228+2938bc94 | ALSA-2026:39868 |
| AlmaLinux 8 | nodejs-devel | Fixed | 1:24.18.0-1.module_el8.10.0+4228+2938bc94 | ALSA-2026:39868 |
| AlmaLinux 8 | nodejs-docs | Fixed | 1:24.18.0-1.module_el8.10.0+4228+2938bc94 | ALSA-2026:39868 |
| AlmaLinux 8 | nodejs-full-i18n | Fixed | 1:24.18.0-1.module_el8.10.0+4228+2938bc94 | ALSA-2026:39868 |
| AlmaLinux 8 | nodejs-libs | Fixed | 1:24.18.0-1.module_el8.10.0+4228+2938bc94 | ALSA-2026:39868 |
| AlmaLinux 8 | nodejs-nodemon | Fixed | 3.0.3-1.module_el8.10.0+4061+f8ceeab9 | ALSA-2026:39868 |
| AlmaLinux 8 | nodejs-packaging | Fixed | 2021.06-6.module_el8.10.0+4086+70facd4a | ALSA-2026:39868 |
| AlmaLinux 8 | nodejs-packaging-bundler | Fixed | 2021.06-6.module_el8.10.0+4086+70facd4a | ALSA-2026:39868 |
| AlmaLinux 8 | npm | Fixed | 1:11.16.0-1.24.18.0.1.module_el8.10.0+4228+2938bc94 | ALSA-2026:39868 |
| AlmaLinux 8 | v8-13.6-devel | Fixed | 3:13.6.233.17-1.24.18.0.1.module_el8.10.0+4228+2938bc94 | ALSA-2026:39868 |
| Rocky Linux 10 | nodejs24 | Fixed | 1:24.18.0-1.el10_2 | RLSA-2026:35841 |
| Rocky Linux 9 | nodejs-nodemon | Fixed | 0:3.0.3-3.module+el9.7.0+40025+0e0cf6b2 | RLSA-2026:35891 |
| Rocky Linux 9 | nodejs-packaging | Fixed | 0:2021.06-6.module+el9.7.0+40052+e32ea525 | RLSA-2026:35891 |
| Rocky Linux 8 | nodejs | Fixed | 1:24.18.0-1.module+el8.10.0+40252+a58646bc | RLSA-2026:39868 |
| Rocky Linux 8 | nodejs-nodemon | Fixed | 0:3.0.3-1.module+el8.10.0+2084+ab509703 | RLSA-2026:39868 |
| Rocky Linux 8 | nodejs-packaging | Fixed | 0:2021.06-6.module+el8.10.0+40171+8fa9c325 | RLSA-2026:39868 |
| npm library | undici | Fixed | 8.2.0 | GHSA-hm92-r4w5-c3mj |
What the vendor says
As published in the CVE record by openjs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- undici: affected: 7.23.0 to before 7.26.0, 7.26.0 not affected, 8.0.0 to before 8.2.0, 8.2.0 not affected; fixed in
7.26.0,8.2.0
References
- https://github.com/nodejs/undici/security/advisories/GHSA-hm92-r4w5-c3mj
- https://cna.openjsf.org/security-advisories.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.