CVE-2026-84961Nodejs Undici
TLS Certificate Validation Bypass in Undici BalancedPool
Critical 9.1 No auth needed
Follow: this CVE · Nodejs · Nodejs Undici We alert you by email or Slack (account required).
- 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.
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.
- Apply the vendor's security update for Undici.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| nodejs | undici | ≥ 7.24.1 < 7.29.1 |
| nodejs | undici | ≥ 8.0.0 < 8.10.2 |
Official advisories
- Security update for nodejs24 · SUSE · SUSE-SU-2026:5466-1 · Nov 25, 2026 Critical
- nodejs26-26.13.1-1.1 on GA media · SUSE · openSUSE-SU-2026:12670-1 · Nov 24, 2026 Critical
- corepack24-24.22.3-1.1 on GA media · SUSE · openSUSE-SU-2026:12570-1 · Nov 16, 2026 Critical
- Red Hat Security Advisory: nodejs26 security, bug fix, and enhancement update · Red Hat · RHSA-2026:98060 · Nov 13, 2026 High
- Red Hat Security Advisory: nodejs:26 security update · Red Hat · RHSA-2026:97855 · Nov 13, 2026 High
- Red Hat Security Advisory: nodejs:24 security, bug fix, and enhancement update · Red Hat · RHSA-2026:74085 · Oct 1, 2026 High
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.
- cna.openjsf.org Third Party Advisory
- github.com Mitigation Vendor Advisory