CVE-2026-106069
Published:October 23, 2026
Updated:November 02, 2026
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.
Affected Packages
nodejs (CONDA):
Affected version(s) >=26.3.1 <26.12.1Fix Suggestion:
Update to version 26.12.1nodejs (CONDA):
Affected version(s) >=22.23.1 <22.23.4Fix Suggestion:
Update to version 22.23.4https://github.com/nodejs/node.git (GITHUB):
Affected version(s) >=v26.3.1 <v26.12.1Fix Suggestion:
Update to version v26.12.1https://github.com/nodejs/node.git (GITHUB):
Affected version(s) >=v22.23.0 <v22.23.4Fix Suggestion:
Update to version v22.23.4https://github.com/nodejs/node.git (GITHUB):
Affected version(s) >=v24.17.0 <v24.22.1Fix Suggestion:
Update to version v24.22.1Additional Notes
The description of this vulnerability differs from MITRE.
Related Resources (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.4
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Certificate Validation
EPSS
Base Score:
0.30