CVEfocus › CVE database › CVE-2026-9697

CVE-2026-9697undici vulnerable to TLS certificate validation bypass via dropped requestTls in SOCKS5…

CVSS 7.4 HighEPSS 0.6% (higher than 40% of CVEs)Published 2026-06-17Updated 2026-09-10Assigner: openjs

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.

CWE-295

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

56Fixed
2Fix pending
2Under investigation
1Will not fix
8Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-undiciFix pendingUBUNTU-CVE-2026-9697
Ubuntu 26.04node-undiciUnder investigationUBUNTU-CVE-2026-9697
Ubuntu 25.10node-undiciWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-9697
Ubuntu 24.04node-undiciUnder investigationUBUNTU-CVE-2026-9697
Debian 14node-undiciFixed8.5.0+dfsg+~cs3.2.0-1DEBIAN-CVE-2026-9697
Debian 13node-undiciFix pendingDEBIAN-CVE-2026-9697
Red Hat Enterprise Linux 10nodejsNot affected
Red Hat Enterprise Linux 10nodejs-develNot affected
Red Hat Enterprise Linux 10nodejs-docsNot affected
Red Hat Enterprise Linux 10nodejs-full-i18nNot affected
Red Hat Enterprise Linux 10nodejs-libsNot affected
Red Hat Enterprise Linux 10nodejs-npmNot affected
Red Hat Enterprise Linux 10nodejs22Not affected
Red Hat Enterprise Linux 10nodejs24Fixed1:24.18.0-1.el10_2RHSA-2026:35841
Red Hat Enterprise Linux 10nodejs24-develFixed1:24.18.0-1.el10_2RHSA-2026:35841
Red Hat Enterprise Linux 10nodejs24-docsFixed1:24.18.0-1.el10_2RHSA-2026:35841
Red Hat Enterprise Linux 10nodejs24-full-i18nFixed1:24.18.0-1.el10_2RHSA-2026:35841
Red Hat Enterprise Linux 10nodejs24-libsFixed1:24.18.0-1.el10_2RHSA-2026:35841
Red Hat Enterprise Linux 10nodejs24-npmFixed1:11.16.0-1.24.18.0.1.el10_2RHSA-2026:35841
Red Hat Enterprise Linux 9nodejsFixed1:24.18.0-1.module+el9.8.0+24456+b244c3b4RHSA-2026:35891
Red Hat Enterprise Linux 9nodejs-develFixed1:24.18.0-1.module+el9.8.0+24456+b244c3b4RHSA-2026:35891
Red Hat Enterprise Linux 9nodejs-docsFixed1:24.18.0-1.module+el9.8.0+24456+b244c3b4RHSA-2026:35891
Red Hat Enterprise Linux 9nodejs-full-i18nFixed1:24.18.0-1.module+el9.8.0+24456+b244c3b4RHSA-2026:35891
Red Hat Enterprise Linux 9nodejs-libsFixed1:24.18.0-1.module+el9.8.0+24456+b244c3b4RHSA-2026:35891
Red Hat Enterprise Linux 9nodejs-nodemonFixed0:3.0.3-3.module+el9.8.0+24355+35d95b59RHSA-2026:35891
Red Hat Enterprise Linux 9nodejs-packagingFixed0:2021.06-6.module+el9.8.0+24355+35d95b59RHSA-2026:35891
Red Hat Enterprise Linux 9nodejs-packaging-bundlerFixed0:2021.06-6.module+el9.8.0+24355+35d95b59RHSA-2026:35891
Red Hat Enterprise Linux 9npmFixed1:11.16.0-1.24.18.0.1.module+el9.8.0+24456+b244c3b4RHSA-2026:35891
Red Hat Enterprise Linux 9v8-13.6-develFixed3:13.6.233.17-1.24.18.0.1.module+el9.8.0+24456+b244c3b4RHSA-2026:35891
Red Hat Enterprise Linux 8nodejsFixed1:24.18.0-1.module+el8.10.0+24481+7a71fac8RHSA-2026:39868
Red Hat Enterprise Linux 8nodejs-develFixed1:24.18.0-1.module+el8.10.0+24481+7a71fac8RHSA-2026:39868
Red Hat Enterprise Linux 8nodejs-docsFixed1:24.18.0-1.module+el8.10.0+24481+7a71fac8RHSA-2026:39868
Red Hat Enterprise Linux 8nodejs-full-i18nFixed1:24.18.0-1.module+el8.10.0+24481+7a71fac8RHSA-2026:39868
Red Hat Enterprise Linux 8nodejs-libsFixed1:24.18.0-1.module+el8.10.0+24481+7a71fac8RHSA-2026:39868
Red Hat Enterprise Linux 8nodejs-nodemonFixed0:3.0.3-1.module+el8.10.0+24190+49a46c75RHSA-2026:39868
Red Hat Enterprise Linux 8nodejs-packagingFixed0:2021.06-6.module+el8.10.0+24190+49a46c75RHSA-2026:39868
Red Hat Enterprise Linux 8nodejs-packaging-bundlerFixed0:2021.06-6.module+el8.10.0+24190+49a46c75RHSA-2026:39868
Red Hat Enterprise Linux 8npmFixed1:11.16.0-1.24.18.0.1.module+el8.10.0+24481+7a71fac8RHSA-2026:39868
Red Hat Enterprise Linux 8v8-12.4-develNot affected
Red Hat Enterprise Linux 8v8-13.6-develFixed3:13.6.233.17-1.24.18.0.1.module+el8.10.0+24481+7a71fac8RHSA-2026:39868
AlmaLinux 10nodejs24-docsFixed1:24.18.0-1.el10_2ALSA-2026:35841
AlmaLinux 10nodejs24-npmFixed1:11.16.0-1.24.18.0.1.el10_2ALSA-2026:35841
AlmaLinux 9nodejsFixed1:24.18.0-1.module_el9.8.0+277+61fc613eALSA-2026:35891
AlmaLinux 9nodejs-develFixed1:24.18.0-1.module_el9.8.0+277+61fc613eALSA-2026:35891
AlmaLinux 9nodejs-docsFixed1:24.18.0-1.module_el9.8.0+277+61fc613eALSA-2026:35891
AlmaLinux 9nodejs-full-i18nFixed1:24.18.0-1.module_el9.8.0+277+61fc613eALSA-2026:35891
AlmaLinux 9nodejs-libsFixed1:24.18.0-1.module_el9.8.0+277+61fc613eALSA-2026:35891
AlmaLinux 9nodejs-nodemonFixed3.0.3-3.module_el9.7.0+209+ecf6523eALSA-2026:35891
AlmaLinux 9nodejs-packagingFixed2021.06-6.module_el9.7.0+209+ecf6523eALSA-2026:35891
AlmaLinux 9nodejs-packaging-bundlerFixed2021.06-6.module_el9.7.0+209+ecf6523eALSA-2026:35891
AlmaLinux 9npmFixed1:11.16.0-1.24.18.0.1.module_el9.8.0+277+61fc613eALSA-2026:35891
AlmaLinux 9v8-13.6-develFixed3:13.6.233.17-1.24.18.0.1.module_el9.8.0+277+61fc613eALSA-2026:35891
AlmaLinux 8nodejsFixed1:24.18.0-1.module_el8.10.0+4228+2938bc94ALSA-2026:39868
AlmaLinux 8nodejs-develFixed1:24.18.0-1.module_el8.10.0+4228+2938bc94ALSA-2026:39868
AlmaLinux 8nodejs-docsFixed1:24.18.0-1.module_el8.10.0+4228+2938bc94ALSA-2026:39868
AlmaLinux 8nodejs-full-i18nFixed1:24.18.0-1.module_el8.10.0+4228+2938bc94ALSA-2026:39868
AlmaLinux 8nodejs-libsFixed1:24.18.0-1.module_el8.10.0+4228+2938bc94ALSA-2026:39868
AlmaLinux 8nodejs-nodemonFixed3.0.3-1.module_el8.10.0+4061+f8ceeab9ALSA-2026:39868
AlmaLinux 8nodejs-packagingFixed2021.06-6.module_el8.10.0+4086+70facd4aALSA-2026:39868
AlmaLinux 8nodejs-packaging-bundlerFixed2021.06-6.module_el8.10.0+4086+70facd4aALSA-2026:39868
AlmaLinux 8npmFixed1:11.16.0-1.24.18.0.1.module_el8.10.0+4228+2938bc94ALSA-2026:39868
AlmaLinux 8v8-13.6-develFixed3:13.6.233.17-1.24.18.0.1.module_el8.10.0+4228+2938bc94ALSA-2026:39868
Rocky Linux 10nodejs24Fixed1:24.18.0-1.el10_2RLSA-2026:35841
Rocky Linux 9nodejs-nodemonFixed0:3.0.3-3.module+el9.7.0+40025+0e0cf6b2RLSA-2026:35891
Rocky Linux 9nodejs-packagingFixed0:2021.06-6.module+el9.7.0+40052+e32ea525RLSA-2026:35891
Rocky Linux 8nodejsFixed1:24.18.0-1.module+el8.10.0+40252+a58646bcRLSA-2026:39868
Rocky Linux 8nodejs-nodemonFixed0:3.0.3-1.module+el8.10.0+2084+ab509703RLSA-2026:39868
Rocky Linux 8nodejs-packagingFixed0:2021.06-6.module+el8.10.0+40171+8fa9c325RLSA-2026:39868
npm libraryundiciFixed8.5.0GHSA-vmh5-mc38-953g

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.

References

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.