Intel

AIKIDO-2026-559286

undici is vulnerable to Improper Certificate Validation

Improper Certificate ValidationCVE-2026-84961 Published Today

74

High Risk

This Affects:

JSundici
7.24.1 - 7.29.0
Fixed in 7.29.1
8.0.0 - 8.10.1
Fixed in 8.10.2
Are you affected? Scan for Free

TL;DR

BalancedPool deep-clones constructor options with JSON, which silently drops function-valued connect and tls options such as a caller-supplied checkServerIdentity. A certificate the application was written to reject is then accepted if it still passes Node's default hostname and chain checks. Client, Pool, Agent, and RoundRobinPool are not affected because they destructure those options before the clone. The fix preserves connect and tls outside the JSON clone so custom verification callbacks reach each upstream.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you construct a BalancedPool with function-valued connect or tls options.

Background info

undici is vulnerable to Improper Certificate Validation in versions 7.24.1 - 7.29.0 and 8.0.0 - 8.10.1.

How to fix this

Upgrade the undici library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform