6.7medium
A flaw in Node.js TLS hostname verification allows a certificate with only a DNS SAN to authenticate an IP endpoint when the client connect…
- Severity
- 6.7medium CVSS:3.0 by hackerone
- Exploit likelihood
- 0.74% (higher than 55% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- hackerone
- Also known as
- BIT-NODE-2026-106072BIT-NODE-MIN-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**.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nodejs node | from 22.23.3 up to 22.23.3, from 24.22.0 up to 24.22.0, from 26.12.0 up to 26.12.0 | CVE List |
| node (Bitnami) | before 22.23.4, from 23.0.0 before 24.22.1, from 25.0.0 before 26.12.1 | Bitnami Vulnerability Database |
| node-min (Bitnami) | before 22.23.4, from 23.0.0 before 24.22.1, from 25.0.0 before 26.12.1 | Bitnami Vulnerability Database |
All scores
| hackerone | 6.7medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-106072 changed 2026-11-02 | CVE Terms of Use |
| NVD | CVE-2026-106072 changed 2026-11-02 | Public domain |
| Bitnami Vulnerability Database | BIT-NODE-2026-106072 changed 2026-10-29 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-NODE-MIN-2026-106072 changed 2026-10-29 | Apache-2.0 |