CVE-2026-106069

State
Published
Severity
7.4 High
Published
Oct 23, 2026
Updated
Oct 23, 2026
Reserved
Oct 6, 2026

Read the record on cve.org

Description

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**.

Scores

CVSSScoreVectorSource
3.07.4 HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Nhackerone

Weaknesses

  • CWE-295 Improper Certificate Validation

Affected Products

ProductVersions
nodenodejs
  • 22.23.3 through 22.23.3Affected
  • 24.22.0 through 24.22.0Affected
  • 26.12.0 through 26.12.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.