Live threats

All CVEs / Nodejs

CVE-2026-84961Nodejs Undici

TLS Certificate Validation Bypass in Undici BalancedPool

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
—
Auth required
No
Published
Sep 4, 2026
Updated
Sep 15, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-295
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What happens

Undici's BalancedPool constructor serializes and reparses the options object as JSON, silently discarding custom TLS validation functions like checkServerIdentity. This allows certificates rejected by the application's custom logic to be accepted if they pass Node.js default checks. Affects Undici 7.24.1 to 7.29.0 and 8.0.0 to 8.10.1 when function-valued options are supplied to BalancedPool.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 7.29.1, 8.10.2

Upgrade Undici to version 7.29.1 or 8.10.2 depending on your branch.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for Undici.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm undici ≥ 7.24.1 < 7.29.1 7.29.1 npm install undici@7.29.1
npm undici ≥ 8.0.0 < 8.10.2 8.10.2 npm install undici@8.10.2

Per OSV / GitHub Advisories (GHSA-w293-vg96-wgc3). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
nodejsundici≥ 7.24.1 < 7.29.1
nodejsundici≥ 8.0.0 < 8.10.2

Official advisories

Also: SUSE (+2), Red Hat (+5)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.