Description
Impact:
undici's ProxyAgent silently drops the requestTls option when configured with a SOCKS5 proxy URI (socks5:// or socks://). The target HTTPS connection through the SOCKS5 tunnel falls back to Node's default trust store, ignoring user-configured ca, cert, key, rejectUnauthorized, and servername settings.
Applications that pin to an internal or corporate CA via requestTls.ca will, when their proxy URI is SOCKS5, get the default Mozilla CA bundle as the trust anchor instead. Any cert signed by any publicly-trusted CA for the target hostname is accepted, breaking the intended pin and enabling MITM read and tamper of the HTTPS exchange.
Affected applications are those that use undici's ProxyAgent (or Socks5ProxyAgent directly) with SOCKS5 AND rely on requestTls for TLS scope restriction. The bug was introduced in undici 7.23.0 when SOCKS5 support was added.
Patches:
Upgrade to undici v7.28.0 or v8.5.0.
Workarounds:
No workaround is available within the SOCKS5 path. If a SOCKS5 proxy with TLS scope restriction is required and an upgrade is not yet possible, route the traffic through an HTTP-proxy ProxyAgent instead, where requestTls is honored correctly.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| undici | undici | 7.23.0 – < 7.28.0, 8.0.0 – < 8.5.0 | 7.28.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-undici | 8.5.0+dfsg+~cs3.2.0-1 | — |
| Debian 13 | node-undici | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-undici | No fix yet | — |
| Ubuntu 26.04 LTS | node-undici | No fix yet | — |
| Ubuntu 25.10 | node-undici | No fix yet | — |
| Ubuntu 24.04 LTS | node-undici | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | nodejs24 +4 | 1:24.18.0-1.el10_2 | RHSA-2026:35841 |
| RHEL 10 | nodejs24-npm | 1:11.16.0-1.24.18.0.1.el10_2 | RHSA-2026:35841 |
| RHEL 9 | nodejs +4 | 1:24.18.0-1.module+el9.8.0+24456+b244c3b4 | RHSA-2026:35891 |
| RHEL 9 | nodejs-nodemon | 3.0.3-3.module+el9.8.0+24355+35d95b59 | RHSA-2026:35891 |
| RHEL 9 | nodejs-packaging +1 | 2021.06-6.module+el9.8.0+24355+35d95b59 | RHSA-2026:35891 |
| RHEL 9 | npm | 1:11.16.0-1.24.18.0.1.module+el9.8.0+24456+b244c3b4 | RHSA-2026:35891 |
| RHEL 9 | v8-13.6-devel | 3:13.6.233.17-1.24.18.0.1.module+el9.8.0+24456+b244c3b4 | RHSA-2026:35891 |
| RHEL 8 | nodejs +4 | 1:24.18.0-1.module+el8.10.0+24481+7a71fac8 | RHSA-2026:39868 |
| RHEL 8 | nodejs-nodemon | 3.0.3-1.module+el8.10.0+24190+49a46c75 | RHSA-2026:39868 |
| RHEL 8 | nodejs-packaging +1 | 2021.06-6.module+el8.10.0+24190+49a46c75 | RHSA-2026:39868 |
| RHEL 8 | npm | 1:11.16.0-1.24.18.0.1.module+el8.10.0+24481+7a71fac8 | RHSA-2026:39868 |
| RHEL 8 | v8-13.6-devel | 3:13.6.233.17-1.24.18.0.1.module+el8.10.0+24481+7a71fac8 | RHSA-2026:39868 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | nodejs24 +6 | 1:24.18.0-0.3.hum1 | RHSA-2026:38236 |
| Red Hat Hardened Images 1 | nodejs24-npm | 1:11.16.0-1.24.18.0.0.3.hum1 | RHSA-2026:38236 |
| Red Hat Hardened Images 1 | nodejs25 +6 | 25.9.0-1.1.hum1 | RHSA-2026:7378 |
| Red Hat Hardened Images 1 | nodejs25-npm | 11.12.1-1.25.9.0.1.1.hum1 | RHSA-2026:7378 |
| Red Hat Hardened Images 1 | nodejs26 +6 | 26.3.0-1.2.hum1 | RHSA-2026:22380 |
| Red Hat Hardened Images 1 | nodejs26-npm | 11.16.0-1.26.3.0.1.2.hum1 | RHSA-2026:22380 |
| Red Hat Hardened Images 1 | rust +18 | 1.96.0-1.hum1 | RHSA-2026:22934 |
| Red Hat Hardened Images 1 | v8-13.6-devel | 3:13.6.233.17-1.24.18.0.0.3.hum1 | RHSA-2026:38236 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | nodejs24 +4 | 1:24.18.0-1.el10_2 | ALSA-2026:35841 |
| AlmaLinux 10 | nodejs24-npm | 1:11.16.0-1.24.18.0.1.el10_2 | ALSA-2026:35841 |
| AlmaLinux 9 | nodejs +4 | 1:24.18.0-1.module_el9.8.0+277+61fc613e | ALSA-2026:35891 |
| AlmaLinux 9 | nodejs-nodemon | 3.0.3-3.module_el9.7.0+209+ecf6523e | ALSA-2026:35891 |
| AlmaLinux 9 | nodejs-packaging +1 | 2021.06-6.module_el9.7.0+209+ecf6523e | ALSA-2026:35891 |
| AlmaLinux 9 | npm | 1:11.16.0-1.24.18.0.1.module_el9.8.0+277+61fc613e | ALSA-2026:35891 |
| AlmaLinux 9 | v8-13.6-devel | 3:13.6.233.17-1.24.18.0.1.module_el9.8.0+277+61fc613e | ALSA-2026:35891 |
| AlmaLinux 8 | nodejs +4 | 1:24.18.0-1.module_el8.10.0+4228+2938bc94 | ALSA-2026:39868 |
| AlmaLinux 8 | nodejs-nodemon | 3.0.3-1.module_el8.10.0+4061+f8ceeab9 | ALSA-2026:39868 |
| AlmaLinux 8 | nodejs-packaging +1 | 2021.06-6.module_el8.10.0+4086+70facd4a | ALSA-2026:39868 |
| AlmaLinux 8 | npm | 1:11.16.0-1.24.18.0.1.module_el8.10.0+4228+2938bc94 | ALSA-2026:39868 |
| AlmaLinux 8 | v8-13.6-devel | 3:13.6.233.17-1.24.18.0.1.module_el8.10.0+4228+2938bc94 | ALSA-2026:39868 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | nodejs24 | 1:24.18.0-1.el10_2 | RLSA-2026:35841 |
| Rocky Linux 9 | nodejs-nodemon | 3.0.3-3.module+el9.7.0+40025+0e0cf6b2 | RLSA-2026:35891 |
| Rocky Linux 9 | nodejs-packaging | 2021.06-6.module+el9.7.0+40052+e32ea525 | RLSA-2026:35891 |
| Rocky Linux 8 | nodejs | 1:24.18.0-1.module+el8.10.0+40252+a58646bc | RLSA-2026:39868 |
| Rocky Linux 8 | nodejs-nodemon | 3.0.3-1.module+el8.10.0+2084+ab509703 | RLSA-2026:39868 |
| Rocky Linux 8 | nodejs-packaging | 2021.06-6.module+el8.10.0+40048+6d99f608 | RLSA-2026:39868 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | nodejs24 +4 | 1:24.18.0-1.amzn2023.0.1 | ALAS2023-2026-1920 |
| Amazon Linux 2023 | nodejs24-npm | 1:11.16.0-1.24.18.0.1.amzn2023.0.1 | ALAS2023-2026-1920 |
| Amazon Linux 2023 | v8-13.6-devel | 3:13.6.233.17-1.24.18.0.1.amzn2023.0.1 | ALAS2023-2026-1920 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | nodejs | 24.17.0-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | nodejs24 +4 | 1:24.18.0-1.0.1.el10_2 | ELSA-2026-35841 |
| Oracle Linux 10 | nodejs24-npm | 1:11.16.0-1.24.18.0.1.0.1.el10_2 | ELSA-2026-35841 |
| Oracle Linux 9 | nodejs +4 | 1:24.18.0-1.module+el9.8.0+90946+13dc792a | ELSA-2026-35891 |
| Oracle Linux 9 | nodejs-nodemon | 3.0.3-3.module+el9.8.0+90946+13dc792a | ELSA-2026-35891 |
| Oracle Linux 9 | nodejs-packaging +1 | 2021.06-6.module+el9.8.0+90946+13dc792a | ELSA-2026-35891 |
| Oracle Linux 9 | npm | 1:11.16.0-1.24.18.0.1.module+el9.8.0+90946+13dc792a | ELSA-2026-35891 |
| Oracle Linux 9 | v8-13.6-devel | 3:13.6.233.17-1.24.18.0.1.module+el9.8.0+90946+13dc792a | ELSA-2026-35891 |
| Oracle Linux 8 | nodejs +4 | 1:24.18.0-1.module+el8.10.0+90961+a86f8457 | ELSA-2026-39868 |
| Oracle Linux 8 | nodejs-nodemon | 3.0.3-1.module+el8.10.0+90961+a86f8457 | ELSA-2026-39868 |
| Oracle Linux 8 | nodejs-packaging +1 | 2021.06-6.module+el8.10.0+90961+a86f8457 | ELSA-2026-39868 |
| Oracle Linux 8 | npm | 1:11.16.0-1.24.18.0.1.module+el8.10.0+90961+a86f8457 | ELSA-2026-39868 |
| Oracle Linux 8 | v8-13.6-devel | 3:13.6.233.17-1.24.18.0.1.module+el8.10.0+90961+a86f8457 | ELSA-2026-39868 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | code-server | 4.125.0-r2 | — |
| Wolfi rolling | langfuse-3 +1 | 3.194.0-r0 | — |
| Wolfi rolling | langfuse-3-compat | 3.225.7-r6 | — |
| Wolfi rolling | renovate | 43.247.0-r0 | — |
| Wolfi rolling | vitess-24 | 24.0.2-r1 | — |
| Wolfi rolling | vitess-24-compat | 24.0.3-r7 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | undici | >= 7.23.0, < 7.28.0 | 7.28.0 | GHSA-vmh5-mc38-953g |
| npm | undici | >= 8.0.0, < 8.5.0 | 8.5.0 | GHSA-vmh5-mc38-953g |
Advisories 19
- RHSA-2026:38236 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- ALSA-2026:35891 Important: nodejs:24 security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:35841 Important: nodejs24 security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:39868 Important: nodejs:24 security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- WID-SEC-2026-2919 IBM App Connect Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 27, 2026
- RHSA-2026:7378 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:39868 Red Hat Security Advisory: nodejs:24 security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:35891 Red Hat Security Advisory: nodejs:24 security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:35841 Red Hat Security Advisory: nodejs24 security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:22934 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:22380 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- WID-SEC-2026-2618 IBM App Connect Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 4, 2026
- ALAS2023-2026-1920 Important: nodejs24 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jul 24, 2026
- ELSA-2026-39868 Important: nodejs:24 security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jul 20, 2026
- RLSA-2026:39868 Important: nodejs:24 security, bug fix, and enhancement update Rocky Linux Security Advisories · Jul 16, 2026
- ELSA-2026-35841 Important: nodejs24 security, bug fix, and enhancement update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Jul 16, 2026
- RLSA-2026:35841 Important: nodejs24 security, bug fix, and enhancement update Rocky Linux Security Advisories · Jul 10, 2026
- RLSA-2026:35891 Important: nodejs:24 security, bug fix, and enhancement update Rocky Linux Security Advisories · Jul 7, 2026
- ELSA-2026-35891 Important: nodejs:24 security, bug fix, and enhancement update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jul 7, 2026