Vulnerability
CVE-2026-106069
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**.
72 advisories report this vulnerability, across 14 ecosystems.
Advisories in Chainguard
- CGA-2664-2mfr-7cw9
- CGA-453p-jx7x-c3q5
- CGA-5mxh-x59x-p548
- CGA-722q-wrgm-x7q2
- CGA-7w79-f75p-qwwc
- CGA-7wph-p63p-mwm8
- CGA-94f6-q2j4-vmwx
- CGA-98j3-5h35-qmx8
- CGA-c5g5-3qqr-5vq3
- CGA-cvgf-2c52-57wh
- CGA-fmwx-jqm9-qhw7
- CGA-h8vj-g6ph-f6r4
- CGA-hf4w-m7m4-35r2
- CGA-jxm3-pcmr-ff39
- CGA-mhf7-72wm-m8w3
- CGA-pj46-7q65-c6cg
- CGA-r594-87h8-ch5w
- CGA-wffh-hmvc-6hg8