CVE-2026-84961

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

CRITICAL
9.1
CVSS Score
Published: September 4, 2026 at 04:47 PM UTC
Updated: September 15, 2026 at 02:40 PM UTC
2 products affected across 2 vendorsUndiciUndici

Using undici by undici?

Get instant alerts when new vulnerabilities affect undici - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
CRITICAL9.1
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

7.24.1 ≤ v < 7.29.18.0.0 ≤ v < 8.10.2
Affected range stops below 7.29.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.10.2, so it looks safe — our inference, not a vendor statement
7.24.1 ≤ v < 7.29.18.0.0 ≤ v < 8.10.27.24.18.0.0
Vendor states this is fixed in 7.29.1 (unaffected)
Vendor states this is fixed in 8.10.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-295

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card