nodejs node

CVE-2026-106072
MEDIUM 6.7

At a glance

Source
NVD
EPSS
EPSS 0.62 % Β· percentile 50 ()
State
PUBLISHED
Published
Updated
Assigner
hackerone
NVD status
Awaiting Analysis

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**.

Weaknesses (CWE)

  • CWE-295 β€” Improper Certificate Validation

References

Scores

VersionScoreVectorScored by
CVSS 3.0MEDIUM 6.7CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:Lhackerone
CVSS 3.0MEDIUM 6.7CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:LNVD Β· support@hackerone.com (Secondary)

European references

Affected products

ProductVersions
nodejs Β· nodeaffected 22.23.3 ≀ 22.23.3 ; affected 24.22.0 ≀ 24.22.0 ; affected 26.12.0 ≀ 26.12.0

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST β€” attribution requested
ENISA EUVDENISA β€” reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain β€” this product uses data from the NVD API but is not endorsed or certified by the NVD