Vulnerability · Published Sep 4, 2026 · Assigned by openjs

CVE-2026-84961undici vulnerable to TLS certificate validation bypass via dropped connect options in BalancedPool

High 7.4

In plain English

A high-severity improper certificate validation in undici from undici. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.4High
Exploit odds (30 days)0.2%top 92.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

undici's BalancedPool constructor passes its entire options object through an internal deep-clone that serializes and reparses the value as JSON. Because JSON cannot represent functions, any function-valued TLS option, such as a caller-supplied checkServerIdentity callback or a custom connector inside the connect option, is silently discarded before it reaches the TLS layer. As a result a peer whose certificate the application's custom checkServerIdentity was written to reject, but which still passes Node's default hostname and chain checks, is accepted when reached through BalancedPool. The Client, Pool, and Agent dispatchers are not affected because they extract the connect and tls options before cloning. This affects undici versions from 7.24.1 up to 7.29.1 and from 8.0.0 up to 8.10.2, and only when the application supplies a function-valued connect or tls option to BalancedPool. Users should upgrade to undici 7.29.1 or 8.10.2.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8nodejs1:24.21.0-1.module_el8.10.0+4292+21afb960ALSA-2026:74085
AlmaLinux:9nodejs1:24.21.0-1.module_el9.8.0+321+1555b6a2ALSA-2026:73838
AlmaLinux:8nodejs-devel1:24.21.0-1.module_el8.10.0+4292+21afb960ALSA-2026:74085
AlmaLinux:9nodejs-devel1:24.21.0-1.module_el9.8.0+321+1555b6a2ALSA-2026:73838
AlmaLinux:8nodejs-docs1:24.21.0-1.module_el8.10.0+4292+21afb960ALSA-2026:74085
AlmaLinux:9nodejs-docs1:24.21.0-1.module_el9.8.0+321+1555b6a2ALSA-2026:73838
AlmaLinux:8nodejs-full-i18n1:24.21.0-1.module_el8.10.0+4292+21afb960ALSA-2026:74085
AlmaLinux:9nodejs-full-i18n1:24.21.0-1.module_el9.8.0+321+1555b6a2ALSA-2026:73838
AlmaLinux:8nodejs-libs1:24.21.0-1.module_el8.10.0+4292+21afb960ALSA-2026:74085
AlmaLinux:9nodejs-libs1:24.21.0-1.module_el9.8.0+321+1555b6a2ALSA-2026:73838
AlmaLinux:8nodejs-nodemon3.1.14-2.module_el8.10.0+4250+09238ed4ALSA-2026:74085
AlmaLinux:9nodejs-nodemon3.1.14-3.module_el9.8.0+292+f4eaf8b2ALSA-2026:73838
AlmaLinux:8nodejs-packaging2021.06-6.module_el8.10.0+4086+70facd4aALSA-2026:74085
AlmaLinux:9nodejs-packaging2021.06-6.module_el9.7.0+209+ecf6523eALSA-2026:73838
AlmaLinux:8nodejs-packaging-bundler2021.06-6.module_el8.10.0+4086+70facd4aALSA-2026:74085
AlmaLinux:9nodejs-packaging-bundler2021.06-6.module_el9.7.0+209+ecf6523eALSA-2026:73838
AlmaLinux:10nodejs241:24.21.0-1.el10_2ALSA-2026:73428
AlmaLinux:10nodejs24-devel1:24.21.0-1.el10_2ALSA-2026:73428
AlmaLinux:10nodejs24-docs1:24.21.0-1.el10_2ALSA-2026:73428
AlmaLinux:10nodejs24-full-i18n1:24.21.0-1.el10_2ALSA-2026:73428
AlmaLinux:10nodejs24-libs1:24.21.0-1.el10_2ALSA-2026:73428
AlmaLinux:10nodejs24-npm2:11.19.0-1.24.21.0.1.el10_2ALSA-2026:73428
AlmaLinux:8npm1:11.19.0-1.24.21.0.1.module_el8.10.0+4292+21afb960ALSA-2026:74085
AlmaLinux:9npm1:11.19.0-1.24.21.0.1.module_el9.8.0+321+1555b6a2ALSA-2026:73838
AlmaLinux:8v8-13.6-devel3:13.6.233.17-1.24.21.0.1.module_el8.10.0+4292+21afb960ALSA-2026:74085
AlmaLinux:9v8-13.6-devel3:13.6.233.17-1.24.21.0.1.module_el9.8.0+321+1555b6a2ALSA-2026:73838
Debian:12node-undicino fix listedDEBIAN-CVE-2026-84961
Debian:13node-undicino fix listedDEBIAN-CVE-2026-84961
Debian:14node-undici8.10.2+dfsg+~cs3.2.2-1DEBIAN-CVE-2026-84961
Rocky Linux:8nodejs-nodemon0:3.1.14-2.module+el8.10.0+40277+b1b3f89eRLSA-2026:74085
Rocky Linux:8nodejs-nodemon0:3.1.14-2.module+el8.10.0+40278+50b003a3RLSA-2026:74085
Rocky Linux:9nodejs-nodemon0:3.1.14-3.module+el9.8.0+40281+14cc6568RLSA-2026:73838
Rocky Linux:8nodejs-packaging0:2021.06-6.module+el8.10.0+40171+8fa9c325RLSA-2026:74085
Rocky Linux:8nodejs-packaging0:2021.06-6.module+el8.10.0+40172+38f6fdd1RLSA-2026:74085
Rocky Linux:8nodejs-packaging0:2021.06-6.module+el8.10.0+40048+6d99f608RLSA-2026:74085
Rocky Linux:9nodejs-packaging0:2021.06-6.module+el9.7.0+40165+d075e3f2RLSA-2026:73838
Rocky Linux:9nodejs-packaging0:2021.06-6.module+el9.7.0+40052+e32ea525RLSA-2026:73838
Rocky Linux:9nodejs-packaging0:2021.06-6.module+el9.8.0+40164+8921ab53RLSA-2026:73838
Rocky Linux:9nodejs-packaging0:2021.06-6.module+el9.7.0+40153+4d595597RLSA-2026:73838
Rocky Linux:10nodejs241:24.21.0-1.el10_2RLSA-2026:73428
Ubuntu:24.04:LTSnode-undicino fix listedUBUNTU-CVE-2026-84961
Ubuntu:26.04:LTSnode-undicino fix listedUBUNTU-CVE-2026-84961
Ubuntu:26.10node-undicino fix listedUBUNTU-CVE-2026-84961
npmundici7.29.1GHSA-w293-vg96-wgc3
npmundici8.10.2GHSA-w293-vg96-wgc3

Affected products (as reported)

VendorProductVersions
undici undici 7.24.1 – before 7.29.18.0.0 – before 8.10.2

Weakness: CWE-295 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

References