cve.bz

CVE-2026-84961 nodejs undici: Improper Certificate Validation

9.1 criticalEPSS 0.2%Fix available

Critical (9.1) in nodejs undici. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in undici 7.29.1, 8.10.2.

On this page
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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 8th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-09-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-84961 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-84961?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-84961?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-84961 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
undicifrom 7.24.1 before 7.29.1
undicifrom 8.0.0 before 8.10.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-w293-vg96-wgc3npmundici>=7.24.1 <7.29.17.29.1
GHSA-w293-vg96-wgc3npmundici>=8.0.0 <8.10.28.10.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13node-undicino fix listedDEBIAN-CVE-2026-84961
Debian14node-undici8.10.2+dfsg+~cs3.2.2-1DEBIAN-CVE-2026-84961
Ubuntu24.04:LTS, 26.04:LTS, 26.10node-undicino fix listedUBUNTU-CVE-2026-84961
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:24.21.0-1.module+el8.10.0+24927+ed3d907aRHSA-2026:74085
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:3.1.14-2.module+el8.10.0+24711+b610b202RHSA-2026:74085
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-6.module+el8.10.0+24711+b610b202RHSA-2026:74085
Red Hatenterprise_linux:8::appstreamnpm1:11.19.0-1.24.21.0.1.module+el8.10.0+24927+ed3d907aRHSA-2026:74085
Red Hatenterprise_linux:8::appstreamv8-13.6-devel3:13.6.233.17-1.24.21.0.1.module+el8.10.0+24927+ed3d907aRHSA-2026:74085
Red Hatenterprise_linux:9::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:24.21.0-1.module+el9.8.0+24924+cd677006RHSA-2026:73838
Red Hatenterprise_linux:9::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:26.8.2-1.module+el9.9.0+24929+16cef9a5RHSA-2026:97855
Red Hatenterprise_linux:9::appstreamnodejs-nodemon0:3.1.14-1.module+el9.9.0+24923+ac50c00fRHSA-2026:97855
Red Hatenterprise_linux:9::appstreamnodejs-nodemon0:3.1.14-3.module+el9.8.0+24708+e71d2e1dRHSA-2026:73838
Red Hatenterprise_linux:9::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-6.module+el9.8.0+24708+e71d2e1dRHSA-2026:73838
Red Hatenterprise_linux:9::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-6.module+el9.9.0+24923+ac50c00fRHSA-2026:97855
Red Hatenterprise_linux:9::appstreamnpm1:11.19.0-1.24.21.0.1.module+el9.8.0+24924+cd677006RHSA-2026:73838
12 more for Red Hat in the JSON and on Red Hat's page.
openSUSELeap 16.0pi-coding-agent1.0.4-bp160.1.1openSUSE-SU-2026:22111-1
openSUSETumbleweednodejs2424.22.3-1.1openSUSE-SU-2026:12570-1
openSUSETumbleweedpi-coding-agent0.87.1-1.1openSUSE-SU-2026:11884-1
AlmaLinux8nodejs, nodejs-docs, nodejs-libs and 2 more1:24.21.0-1.module_el8.10.0+4292+21afb960ALSA-2026:74085
AlmaLinux8nodejs-nodemon3.1.14-2.module_el8.10.0+4250+09238ed4ALSA-2026:74085
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-6.module_el8.10.0+4086+70facd4aALSA-2026:74085
AlmaLinux8npm1:11.19.0-1.24.21.0.1.module_el8.10.0+4292+21afb960ALSA-2026:74085
AlmaLinux8v8-13.6-devel3:13.6.233.17-1.24.21.0.1.module_el8.10.0+4292+21afb960ALSA-2026:74085
AlmaLinux9nodejs, nodejs-docs, nodejs-libs and 2 more1:24.21.0-1.module_el9.8.0+321+1555b6a2ALSA-2026:73838
AlmaLinux9nodejs-nodemon3.1.14-3.module_el9.8.0+292+f4eaf8b2ALSA-2026:73838
AlmaLinux9nodejs-packaging, nodejs-packaging-bundler2021.06-6.module_el9.7.0+209+ecf6523eALSA-2026:73838
AlmaLinux9npm1:11.19.0-1.24.21.0.1.module_el9.8.0+321+1555b6a2ALSA-2026:73838
AlmaLinux9v8-13.6-devel3:13.6.233.17-1.24.21.0.1.module_el9.8.0+321+1555b6a2ALSA-2026:73838
AlmaLinux10nodejs24-docs1:24.21.0-1.el10_2ALSA-2026:73428
AlmaLinux10nodejs24-npm2:11.19.0-1.24.21.0.1.el10_2ALSA-2026:73428
Rocky Linux8nodejs-nodemon0:3.1.14-2.module+el8.10.0+40277+b1b3f89eRLSA-2026:74085
Rocky Linux8nodejs-nodemon0:3.1.14-2.module+el8.10.0+40278+50b003a3RLSA-2026:74085
Rocky Linux8nodejs-packaging0:2021.06-6.module+el8.10.0+40048+6d99f608RLSA-2026:74085
Rocky Linux8nodejs-packaging0:2021.06-6.module+el8.10.0+40171+8fa9c325RLSA-2026:74085
Rocky Linux8nodejs-packaging0:2021.06-6.module+el8.10.0+40172+38f6fdd1RLSA-2026:74085
Rocky Linux9nodejs-nodemon0:3.1.14-1.module+el9.8.0+40263+faa47049RLSA-2026:97855
Rocky Linux9nodejs-nodemon0:3.1.14-3.module+el9.8.0+40281+14cc6568RLSA-2026:73838
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.7.0+40052+e32ea525RLSA-2026:73838 RLSA-2026:97855
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.7.0+40153+4d595597RLSA-2026:73838 RLSA-2026:97855
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.7.0+40165+d075e3f2RLSA-2026:73838 RLSA-2026:97855
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.8.0+40164+8921ab53RLSA-2026:73838 RLSA-2026:97855
Rocky Linux10nodejs241:24.21.0-1.el10_2RLSA-2026:73428
2 more for Rocky Linux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This flaw only affects applications that construct an undici BalancedPool with a function-valued connect or tls option — for example, a custom checkServerIdentity callback or connector used for certificate pinning across multiple upstreams. Client, Pool, Agent, and RoundRobinPool destructure these options before the internal JSON-based clone and are not affected. An attacker able to present, on the network path, a TLS endpoint whose certificate the application's custom validator was written to reject — but which still satisfies Node.js's default hostname and chain checks — can have that certificate silently accepted when the connection goes through BalancedPool, enabling a man-in-the-middle attack against affected connections.

This affects undici versions from 7.24.1 up to 7.29.1 and from 8.0.0 up to 8.10.2.

Red Hat's mitigation

Applications that do not use BalancedPool, or that use it without a custom function-valued connect/tls option, are not affected and require no action. As a workaround until packages are updated, avoid using BalancedPool for any connection that relies on custom TLS certificate validation (e.g. certificate pinning); use Client, Pool, or Agent instead, which are unaffected. The permanent fix is upgrading undici to 7.29.1 or later (7.x line) or 8.10.2 or later (8.x line).

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10nodejs24-1:24.21.0-1.el10_2Fixed 2026-09-29RHSA-2026:73428
Red Hat Enterprise Linux 10nodejs26-1:26.8.2-1.el10_3Fixed 2026-11-11RHSA-2026:98060
Red Hat Enterprise Linux 8nodejs:24-8100020260921144227.6d880403Fixed 2026-09-30RHSA-2026:74085
Red Hat Enterprise Linux 9nodejs:24-9080020260921144317.rhel9Fixed 2026-09-30RHSA-2026:73838
Red Hat Enterprise Linux 9nodejs:26-9090020260922082827.rhel9Fixed 2026-11-10RHSA-2026:97855
Cluster Observability Operator 1.5cluster-observability-operator/logging-console-plugin-pf4-rhel9:1790854525Fixed 2026-10-01RHSA-2026:74609
Cluster Observability Operator 1.5cluster-observability-operator/monitoring-console-plugin-pf5-rhel9:1790854526Fixed 2026-10-01RHSA-2026:74609
Cluster Observability Operator 1.5cluster-observability-operator/monitoring-console-plugin-pf6-rhel9:1790854528Fixed 2026-10-01RHSA-2026:74609
Cluster Observability Operator 1.5cluster-observability-operator/monitoring-console-plugin-rhel9:1790854525Fixed 2026-10-01RHSA-2026:74609
Cluster Observability Operator 1.5cluster-observability-operator/distributed-tracing-console-plugin-pf4-rhel9:1793661804Fixed 2026-11-04RHSA-2026:95081
Exploit Intelligenceexploit-intelligence/vulnerability-analysis-rhel9Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-pf5-rhel9Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-rhel9Affected
Red Hat AMQ Broker 7amq-broker-bin.zipNot affected
Red Hat AMQ Broker 7amq-broker-maven-repository.zipNot affected
Red Hat Ansible Automation Platform 2automation-platform-uiNot affected
Red Hat Build of Podman Desktoprh-podman-desktop.gitAffected
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Enterprise Linux 10nodejs22Will not fix
Red Hat Enterprise Linux 8nodejs:22/nodejsWill not fix
53 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-84961.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON