Skip to main content
EPSS 0.1%top 96%

Node undici: undici's BalancedPool constructor passes its entire options object through an internal deep-clone that serializes and reparses the value as JSON. (CVE-2026-84961)

0
Medium
Published: 09/04/2026 (09/04/2026, 17:17:00 UTC)
Source: GCVE Database
Product: node-undici

Description

Node.js undici library's BalancedPool constructor improperly handles TLS options by deep cloning its options via JSON serialization, which drops function-valued TLS options such as custom checkServerIdentity callbacks. This leads to TLS certificate validation bypass when using BalancedPool with such custom callbacks, allowing acceptance of TLS peers that should be rejected. Other undici components like Client, Pool, and Agent are not affected. The issue is fixed in versions 7.29.1 and 8.10.2.

CVSS v3.1

Score 9.1critical

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

Affected software

Ubuntu:24.04:LTSmore threats →ghsa
node-undici
pkg:deb/ubuntu/node-undici?arch=source&distro=noble
Affected versions
=5.22.1+dfsg1+~cs20.10.10.2-1ubuntu1=5.26.3+dfsg1+~cs23.10.12-2
Ubuntu:26.04:LTSmore threats →ghsa
node-undici
pkg:deb/ubuntu/node-undici?arch=source&distro=resolute
Affected versions
=7.3.0+dfsg1+~cs24.12.11-2=7.16.0+dfsg+~cs3.2.0-2=7.18.2+dfsg+~cs3.2.0-1=7.18.2+dfsg+~cs3.2.0-1build1
npmghsa
undici
Affected versions
>=8.0.0 <8.10.2
Ubuntu:26.10more threats →ghsa
node-undici
pkg:deb/ubuntu/node-undici?arch=source&distro=stonking
Affected versions
=7.18.2+dfsg+~cs3.2.0-1build1=7.24.6+dfsg+~cs3.2.0-3=8.5.0+dfsg+~cs3.2.0-2=8.5.0+dfsg+~cs3.2.0-3=8.9.0+dfsg+~cs3.2.0-1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 02:25:15 UTC

Technical Analysis

The vulnerability in node-undici's BalancedPool component arises because its constructor deep clones the entire options object by serializing and reparsing it as JSON. This process removes function-valued TLS options, including custom checkServerIdentity callbacks used for certificate validation. As a result, TLS certificate validation can be bypassed when BalancedPool is used with such custom callbacks, potentially allowing acceptance of malicious TLS peers. This flaw does not affect other undici components such as Client, Pool, or Agent. The vulnerability is tracked as CVE-2026-84961 and has a CVSS 3.1 base score of 9.1, indicating high severity. Fixes are available in versions 7.29.1 and 8.10.2.

Potential Impact

Successful exploitation allows attackers to bypass TLS certificate validation when using the BalancedPool component with custom TLS options, potentially enabling man-in-the-middle attacks by accepting TLS peers that should be rejected. This compromises the confidentiality and integrity of TLS connections established via BalancedPool in affected versions.

Mitigation Recommendations

Upgrade node-undici to version 7.29.1 or later if using the 7.x branch, or to version 8.10.2 or later if using the 8.x branch. These versions contain the official fix for this vulnerability. No other mitigation is required as the issue is resolved in these releases.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-84961
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:24.04:LTS","Ubuntu:26.04:LTS"]
Cvss Version
3.1

Threat ID: 6a9ee1b1acd9273b49e69d0d

Added to database: 09/07/2026, 16:09:21 UTC

Last enriched: 10/18/2026, 02:25:15 UTC

Last updated: 10/23/2026, 01:15:27 UTC

Views: 86

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses