CVE-2026-84961
undici: undici: TLS certificate validation bypass in BalancedPool via dropped connect options
Overview
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.
Source: OX vulnerability database
Severity
9.1 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness: CWE-295
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | undici | >=7.24.1, <7.29.1>=8.0.0, <8.10.2 | 7.29.18.10.2 |
Open a package to see all its vulnerabilities.
Operating systems · 101 fixes
Oracle Linux 2 releases · 5 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | npm | 1:11.19.0-1.24.21.0.1.module+el8.10.0+91054+4b1a799c |
| 8 | nodejs +4 | 1:24.21.0-1.module+el8.10.0+91054+4b1a799c |
| 8 | nodejs-packaging +1 | 2021.06-6.module+el8.10.0+91054+4b1a799c |
| 8 | nodejs-nodemon | 3.1.14-2.module+el8.10.0+91054+4b1a799c |
| 8 | v8-13-6-devel | 3:13.6.233.17-1.24.21.0.1.module+el8.10.0+91054+4b1a799c |
| 9 | npm | 1:11.19.0-1.24.21.0.1.module+el9.8.0+91053+65d3e6aa |
4 more rows
Red Hat 5 releases · 6 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 8 (nodejs:22) | nodejs +10 | wont fix | — |
| 8 (nodejs:24) | nodejs-packaging +1 | 0:2021.06-6.module+el8.10.0+24711+b610b202 | RHSA-2026:74085 |
| 8 (nodejs:24) | nodejs-nodemon | 0:3.1.14-2.module+el8.10.0+24711+b610b202 | RHSA-2026:74085 |
| 8 (nodejs:24) | npm | 1:11.19.0-1.24.21.0.1.module+el8.10.0+24927+ed3d907a | RHSA-2026:74085 |
| 8 (nodejs:24) | nodejs +4 | 1:24.21.0-1.module+el8.10.0+24927+ed3d907a | RHSA-2026:74085 |
| 8 (nodejs:24) | v8-13-6-devel | 3:13.6.233.17-1.24.21.0.1.module+el8.10.0+24927+ed3d907a | RHSA-2026:74085 |
11 more rows
alma 3 releases · 7 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | nodejs24-docs | 1:24.21.0-1.el10_2 |
| 10 | nodejs24-npm | 2:11.19.0-1.24.21.0.1.el10_2 |
| 8 (nodejs:24) | npm | 1:11.19.0-1.24.21.0.1.module_el8.10.0+4292+21afb960 |
| 8 (nodejs:24) | nodejs +4 | 1:24.21.0-1.module_el8.10.0+4292+21afb960 |
| 8 (nodejs:24) | nodejs-packaging +1 | 2021.06-6.module_el8.10.0+4086+70facd4a |
| 8 (nodejs:24) | nodejs-nodemon | 3.1.14-2.module_el8.10.0+4250+09238ed4 |
6 more rows
amazon linux 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | nodejs24-npm | 1:11.19.0-1.24.21.0.1.amzn2023.0.1 |
| 2023 | nodejs24 +7 | 1:24.21.0-1.amzn2023.0.1 |
| 2023 | v8-13-6-devel | 3:13.6.233.17-1.24.21.0.1.amzn2023.0.1 |
chainguard 1 release · 11 packages
| Release | Package | Fixed in |
|---|---|---|
| lerna | 10.0.1-r11 | |
| node-gyp | 13.0.2-r1 | |
| commercial-gitlab-rails-ee-19-1 | 19.1.7-r3 | |
| commercial-gitlab-rails-ee-fips-19-1 | 19.1.9-r0 | |
| commercial-gitlab-rails-ee-19-2 +1 | 19.2.7-r1 | |
| commercial-gitlab-rails-ee-19-3 +1 | 19.3.3-r1 |
5 more rows
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | node-undici | affected |
| 13 | node-undici | affected |
| 14 | node-undici | 8.10.2+dfsg+~cs3.2.2-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| node-undici | affected |
minimos 1 release · 12 packages
| Release | Package | Fixed in |
|---|---|---|
| pi-cli | 0.86.0-r0 | |
| node-gyp | 13.1.0-r0 | |
| n8n | 2.41.3-r0 | |
| homepage | 2.5.0-r0 | |
| openclaw | 2026.9.2-r0 | |
| mcp-mongodb | 3.1.0-r0 |
6 more rows
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | pi-coding-agent +1 | 0.87.1-1.1 | openSUSE-SU-2026:11884-1 |
| Tumbleweed | corepack24 +4 | 24.22.3-1.1 | openSUSE-SU-2026:12570-1 |
openSUSE Leap 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | pi-coding-agent +1 | 1.0.4-bp160.1.1 | openSUSE-SU-2026:22111-1 |
rocky 4 releases · 9 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | nodejs26-npm | 1:11.19.1-1.26.8.2.1.el10_3 |
| 10 | nodejs24 +4 | 1:24.21.0-1.el10_2 |
| 10 | nodejs26 +4 | 1:26.8.2-1.el10_3 |
| 10 | nodejs24-npm | 2:11.19.0-1.24.21.0.1.el10_2 |
| 8 (nodejs:24) | npm | 1:11.19.0-1.24.21.0.1.module+el8.10.0+40368+1252295d |
| 8 (nodejs:24) | nodejs +4 | 1:24.21.0-1.module+el8.10.0+40368+1252295d |
18 more rows
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-node-undici | affected |
wolfi 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| lerna | 10.0.1-r11 | |
| node-gyp | 13.0.2-r1 | |
| code-server | 4.139.1-r2 | |
| prism | 5.16.0-r14 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:73838
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:74085
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-84961
- bugzilla.redhat.com https://bugzilla.redhat.com/2528717
- bugzilla.redhat.com https://bugzilla.redhat.com/2528735
- bugzilla.redhat.com https://bugzilla.redhat.com/2528759
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2528717
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2528735
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2528759
- cna.openjsf.org https://cna.openjsf.org/security-advisories.html
Show all 26 references
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-19534
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-84961
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-85152
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-73838.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:74085
- github.com https://github.com/nodejs/undici
- github.com https://github.com/nodejs/undici/commit/8f5868fbdbc8f1146dfc1bcd1f2d117790141390
- github.com https://github.com/nodejs/undici/commit/f690157d728508652fef14673630c71515123e96
- github.com https://github.com/nodejs/undici/releases/tag/v7.29.1
- github.com https://github.com/nodejs/undici/releases/tag/v8.10.2
- github.com https://github.com/nodejs/undici/security/advisories/GHSA-w293-vg96-wgc3
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-84961.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-74085.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-84961
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-84961
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.