CVE Vulnerabilities

CVE-2026-106069

Improper Certificate Validation

Published: Oct 23, 2026 | Modified: Nov 02, 2026
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
7.4 IMPORTANT
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Ubuntu
MEDIUM

A flaw in Node.js TLS hostname verification can cause a server certificate to be validated against a different IP address than the one the client connected to, when the host is a non-canonical IPv4 literal with a leading zero, such as 0127.0.0.1.

tls.checkServerIdentity() normalizes the host following the WHATWG URL rules, which read a leading-zero octet as octal (0127.0.0.1 becomes 87.0.0.1), while the connection is made through the operating system resolver, which on some platforms such as macOS reads it as decimal (127.0.0.1). A server at the connected address can then be authenticated with a certificate issued for another IP address.

This vulnerability affects Node.js 26.x, 24.x, and 22.x.

Weakness

The product does not validate, or incorrectly validates, a certificate.

Affected Software

NameVendorStart VersionEnd Version
Red Hat Enterprise Linux 10RedHatnodejs24-1:24.22.1-3.el10_2*
Red Hat Enterprise Linux 10RedHatnodejs22-1:22.23.4-1.el10_2*
Red Hat Enterprise Linux 10RedHatnodejs26-1:26.12.1-3.el10_3*
Red Hat Enterprise Linux 10.0 Extended Update SupportRedHatnodejs22-1:22.23.4-2.el10_0*
Red Hat Enterprise Linux 8RedHatnodejs:24-8100020261027151919.6d880403*
Red Hat Enterprise Linux 8RedHatnodejs:22-8100020261104150431.6d880403*
Red Hat Enterprise Linux 9RedHatnodejs:24-9080020261027142403.rhel9*
Red Hat Enterprise Linux 9RedHatnodejs:22-9080020261103125134.rhel9*
Red Hat Enterprise Linux 9RedHatnodejs:26-9090020261105145947.rhel9*

Potential Mitigations

References