AI description
**CVE-2026-106072** is a certificate validation vulnerability in Node.js that affects the 22.x, 24.x, and 26.x release lines. The issue arises when a client attempts to connect to an IPv4 address written in a non-canonical format, such as a shortened or hexadecimal string. Because Node.js fails to recognize these non-standard formats as IP addresses during TLS hostname verification, it falls back to matching the certificate's DNS Subject Alternative Names (SANs) instead of its IP address entries. However, the underlying operating system still resolves and connects to the numeric IP address. This discrepancy allows an attacker who possesses a certificate with a DNS SAN matching the non-canonical string to authenticate an IP endpoint that the certificate was never meant to cover, potentially establishing a verified TLS session. This scenario is particularly relevant in environments utilizing private PKI, internal CAs, or mutual TLS. The vulnerability was addressed in the Node.js security updates released on October 21, 2026 (specifically versions 22.23.4, 24.22.1, and 26.12.1) by ensuring that TLS rejects non-canonical IP addresses and correcting hostname normalization checks.
- Description
- A flaw in Node.js TLS hostname verification allows a certificate with only a DNS SAN to authenticate an IP endpoint when the client connects using a non-canonical IPv4 spelling, such as `0177.0.0.1`, `0x7f.0.0.1`, `2130706433` or `127.1`. `tls.checkServerIdentity()` did not classify these hosts as IP addresses, but normalized them to their canonical form and matched the result against the certificate DNS names. A certificate containing `DNS:127.0.0.1` and no `IP Address:127.0.0.1` SAN was therefore accepted, while the same certificate is correctly rejected for `127.0.0.1`. Exploitation requires a certificate with a numeric DNS SAN issued by a CA trusted by the client, and a platform resolver that accepts these spellings, such as glibc. This vulnerability affects Node.js **26.x**, **24.x**, and **22.x**.
- Source
- support@hackerone.com
- NVD status
- Awaiting Analysis
CVSS 3.0
- Type
- Secondary
- Base score
- 6.7
- Impact score
- 5.5
- Exploitability score
- 1.2
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L
- Severity
- MEDIUM
- support@hackerone.com
- CWE-295
- Hype score
- Not currently trending
šØ Node.js TLS hostname check accepts a DNS SAN for non-canonical IPv4 addresses (CVE-2026-106072) Critical Vulnerability Alert! Node.js 22.x, 24.x and 26.x is affected by CVE-2026-106072. š Identify Targets via ZoomEye: Search Dork: app="Node.js" Exposure: 5.5m instances
@zoomeyebot
1 Nov 2026
7610 Impressions
4 Retweets
39 Likes
43 Bookmarks
0 Replies
1 Quote
New Node.js security updates CVE-2026-105482 CVE-2026-105843 CVE-2026-106069 CVE-2026-105481 CVE-2026-106072 CVE-2026-106074 CVE-2026-111497 https://t.co/ZFvnnZRnGw
@AlvieriD
21 Oct 2026
14867 Impressions
25 Retweets
120 Likes
45 Bookmarks
2 Replies
3 Quotes