Vulnerability
CVE-2026-106072
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**.
46 advisories report this vulnerability, across 14 ecosystems.
Advisories in Chainguard
- CGA-25xr-fxpr-hghg
- CGA-38hx-74f5-7pqh
- CGA-4xmw-vcc9-m3wh
- CGA-6pgv-683f-7x25
- CGA-9q37-j558-pq2q
- CGA-gppv-f4hx-86j5
- CGA-gwpg-97v7-88j3
- CGA-jq6m-qggq-p6v6
- CGA-m9vp-g4rr-h5qc
- CGA-p2hr-43mj-9735
- CGA-q94f-9vw7-q4v2
- CGA-qwpv-vf32-pf6v
- CGA-rgrv-rqgj-54ph
- CGA-rqv9-g9w6-qmc9
- CGA-v8rc-vvqf-q774
- CGA-vrgc-75m8-qmxw
- CGA-wvmc-v4p4-8xc4
- CGA-xx5g-8f9p-53wf