| Name | CVE-2026-106072 |
| 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 | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1151688, 1151859 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| nodejs (PTS) | bookworm | 18.20.4+dfsg-1~deb12u2 | vulnerable |
| bookworm (security) | 18.20.4+dfsg-1~deb12u3 | vulnerable | |
| trixie | 20.19.2+dfsg-1+deb13u2 | vulnerable | |
| trixie (security) | 20.19.2+dfsg-1+deb13u3 | vulnerable | |
| forky, sid | 24.22.2+dfsg+~cs24.19.2-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| nodejs | source | (unstable) | 24.22.1+dfsg+~cs24.19.2-1 | 1151688, 1151859 |
https://nodejs.org/en/blog/vulnerability/october-2026-security-releases#improper-certificate-validation-for-non-canonical-ipv4-hostnames-allows-dns-sans-to-authenticate-ip-endpoints-cve-2026-106072---medium
Fixed by: https://github.com/nodejs/node/commit/beb4cd4cd31c8a6726102baabf441cad93eae3b1 (v22.23.4)