Vulnerability
CVE-2026-9697
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.
76 advisories report this vulnerability, across 12 ecosystems.
Advisories
-
ALAS2023-2026-1920
Amazon Linux 2023 - ALAS2023-2026-1920: Important priority package update for nodejs24
-
ALSA-2026:35841
Important: nodejs24 security, bug fix, and enhancement update
-
ALSA-2026:35891
Important: nodejs:24 security, bug fix, and enhancement update
-
ALSA-2026:39868
Important: nodejs:24 security, bug fix, and enhancement update
-
AZL-91227
CVE-2026-9697 affecting package nodejs for versions less than 24.17.0-1
- CGA-2vc2-3phm-fq3p
- CGA-3qhj-r64q-v4rw
- CGA-44mg-5rxg-fp8w
- CGA-4rxf-v6vm-vghr
- CGA-4ww5-pj3q-wc7m
- CGA-63wv-g2xm-5cff
- CGA-6fh9-gq6q-8q9h
- CGA-6qgm-839p-hpcq
- CGA-6xjw-gvxx-9j3g
- CGA-782f-fjqf-wwg5
- CGA-7c38-fv9h-r54r
- CGA-7pjq-3482-2rjv
- CGA-82vp-q454-6p29
- CGA-836j-mj52-mgm4
- CGA-85v2-5vp8-qj4q
- CGA-8grh-mhpg-64h2
- CGA-938r-vfwq-r2ww
- CGA-9f5g-46qq-qfww
- CGA-9v8w-7cg4-5647
- CGA-c2x3-x4qf-35q6
- CGA-c4v3-p93p-g658
- CGA-cq46-9r27-587x
- CGA-f7vg-5vxm-m98f
- CGA-fv5f-967g-pqwp
- CGA-gg9f-763q-frxp
- CGA-hjhm-cwfh-gq22
- CGA-hmxw-h8f5-cgc8
- CGA-hq24-3w63-cmfr
- CGA-hqrf-v544-748r
- CGA-j3hr-q3xq-m5c5
- CGA-j73r-v4xr-mq44
- CGA-mwjp-3hjv-hg2p
- CGA-p48m-jfv6-w7f7
- CGA-p4wg-2m8h-rwvh
- CGA-p8f2-5c64-9v4c
- CGA-p8hw-882x-g54w
- CGA-p9fr-2hjx-4f3r
- CGA-pgrq-grjv-jvg8
- CGA-ppwq-7xvp-26w3
- CGA-pv5w-6mpc-hr9g
- CGA-q27f-xhhf-2965
- CGA-r62q-j9mp-mhrc
- CGA-r93c-gxqg-9wgc
- CGA-rmc4-5gwx-rx84
- CGA-vfwp-4qc8-p4pc
- CGA-vg5f-27mf-pc9m
- CGA-w2q3-62g7-jp3g
- CGA-w4wf-m48w-2p96
- CGA-wmcj-7xm7-rcqc
- CGA-wp2v-9jrp-8g4w
- CGA-wq2w-j78f-xqxj
- CGA-wxwv-mrqf-fjwx
- CGA-x778-r88j-7xf5
- CGA-xcg8-59x5-pr45
-
DEBIAN-CVE-2026-9697
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…
-
ELSA-2026-35841
ELSA-2026-35841: nodejs24 security, bug fix, and enhancement update (IMPORTANT)
-
ELSA-2026-35891
ELSA-2026-35891: nodejs:24 security, bug fix, and enhancement update (IMPORTANT)
-
ELSA-2026-39868
ELSA-2026-39868: nodejs:24 security, bug fix, and enhancement update (IMPORTANT)
-
FEDORA-2026-ce5dac2ed8
nodejs24-24.18.0-1.fc44
-
GHSA-vmh5-mc38-953g
undici vulnerable to TLS certificate validation bypass via dropped requestTls in SOCKS5 ProxyAgent
-
RHSA-2026:22380
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHSA-2026:22934
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHSA-2026:35841
Red Hat Security Advisory: nodejs24 security, bug fix, and enhancement update
-
RHSA-2026:35891
Red Hat Security Advisory: nodejs:24 security, bug fix, and enhancement update
-
RHSA-2026:38236
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHSA-2026:39868
Red Hat Security Advisory: nodejs:24 security, bug fix, and enhancement update
-
RHSA-2026:7378
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RLSA-2026:35841
Important: nodejs24 security, bug fix, and enhancement update
-
RLSA-2026:35891
Important: nodejs:24 security, bug fix, and enhancement update
-
RLSA-2026:39868
Important: nodejs:24 security, bug fix, and enhancement update
-
UBUNTU-CVE-2026-9697
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…
References
- https://cna.openjsf.org/security-advisories.html
- https://github.com/nodejs/undici/security/advisories/GHSA-vmh5-mc38-953g
- https://access.redhat.com/errata/RHSA-2026:22380
- https://access.redhat.com/errata/RHSA-2026:22934
- https://access.redhat.com/errata/RHSA-2026:34342
- https://access.redhat.com/errata/RHSA-2026:35841
- https://access.redhat.com/errata/RHSA-2026:35891
- https://access.redhat.com/errata/RHSA-2026:36621
- https://access.redhat.com/errata/RHSA-2026:36754
- https://access.redhat.com/errata/RHSA-2026:36820
- https://access.redhat.com/errata/RHSA-2026:38236
- https://access.redhat.com/errata/RHSA-2026:39868
- https://access.redhat.com/errata/RHSA-2026:41929
- https://access.redhat.com/errata/RHSA-2026:47728
- https://access.redhat.com/errata/RHSA-2026:48124
- https://access.redhat.com/errata/RHSA-2026:48151
- https://access.redhat.com/errata/RHSA-2026:56366
- https://access.redhat.com/errata/RHSA-2026:56431
- https://access.redhat.com/errata/RHSA-2026:57013
- https://access.redhat.com/errata/RHSA-2026:60520
- https://access.redhat.com/errata/RHSA-2026:65126
- https://access.redhat.com/errata/RHSA-2026:7378
- https://access.redhat.com/security/cve/CVE-2026-9697
- https://bugzilla.redhat.com/show_bug.cgi?id=2490018
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9697.json