Improper Validation of Certificate with Host Mismatch Reasoning: Affecting nodejs package, versions [22.20.0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-NODEJS-21427870
  • published22 Oct 2026
  • disclosed21 Oct 2026
  • creditbr41ny

Introduced: 21 Oct 2026

NewCVE-2026-106072  (opens in a new tab)
CWE-297  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Improper Validation of Certificate with Host Mismatch Reasoning: via the checkServerIdentity function in the TLS module. When a client connects using a non-canonical IPv4 hostname such as 0127.0.0.1, hostname normalization can produce an address different from the one the operating system resolver uses. An attacker who can cause the connection to reach an endpoint they control and present a trusted certificate with a DNS SAN matching the normalized hostname can have the client accept that certificate, enabling endpoint impersonation and interception of TLS communications.

CVSS Base Scores

version 4.0
version 3.1