Intel

AIKIDO-2026-171454

node is vulnerable to Improper Authentication

Improper AuthenticationCVE-2026-56850 Published 4 days ago

50

Medium Risk

This Affects:

OSnode
0.0.1 - 22.23.1
Fixed in 22.23.2
23.0.0 - 24.18.0
Fixed in 24.18.1
25.0.0 - 26.5.0
Fixed in 26.5.1
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to incorrect mutual TLS (mTLS) client identity reuse in the HTTPS Agent. When options.pfx is supplied as an array of objects (for example [{ buf, passphrase }]), Agent.prototype.getName stringifies the array in a way that does not distinguish different certificates or passphrases, producing colliding agent connection keys. As a result, keep-alive connections authenticated with one client certificate can be reused for requests configured with a different PFX, causing the wrong mTLS identity to be presented to the remote server. The fix computes a stable PFX-specific agent key that incorporates each buffer and passphrase.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

node is vulnerable to Improper Authentication in versions 25.0.0 - 26.5.0, 23.0.0 - 24.18.0 and 0.0.1 - 22.23.1.

How to fix this

Upgrade the node library to a patch version.