๐Ÿ” CVE Alert

CVE-2026-84961

HIGH 7.4

undici vulnerable to TLS certificate validation bypass via dropped connect options in BalancedPool

CVSS Score
7.4
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-295
Vendor undici
Product undici
Published Sep 4, 2026
Last Updated Sep 4, 2026
Stay Ahead of the Next One

Get instant alerts for undici undici

Be the first to know when new high vulnerabilities affecting undici undici are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

undici / undici
7.24.1 < 7.29.1 8.0.0 < 8.10.2

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/nodejs/undici/security/advisories/GHSA-w293-vg96-wgc3 cna.openjsf.org: https://cna.openjsf.org/security-advisories.html

Credits

๐Ÿ” MegaManSec mcollina UlisesGascon