CVE-2026-100701Nodemailer 5.0.0 through 10.0.1 TLS servername Cache Confusion
Nodemailer versions 5.0.0 through 10.0.1 use a process-global DNS cache that is keyed only by the DNS host, while each cache entry also stores the caller-specific TLS servername. When two direct TLS/SMTPS transports (secure: true) resolve the same non-IP host with different tls.servername values, the first transport's servername is returned on the cache hit and overwrites the second transport's explicitly configured value, so Nodemailer sends the wrong SNI value and validates the peer certificate against the wrong identity. In multi-tenant services or SNI-routed SMTP gateways, an attacker who can prime the cache can cause a victim transport to connect to the attacker's TLS virtual host and accept the attacker's certificate even with rejectUnauthorized: true, disclosing the victim's SMTP credentials. Fixed in 10.0.2.
What to do
Fixed builds are available from Debian, npm: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-nodemailer | Fix pending | UBUNTU-CVE-2026-100701 | |
| Ubuntu 26.04 | node-nodemailer | Under investigation | UBUNTU-CVE-2026-100701 | |
| Ubuntu 24.04 | node-nodemailer | Under investigation | UBUNTU-CVE-2026-100701 | |
| Ubuntu 22.04 | node-nodemailer | Under investigation | UBUNTU-CVE-2026-100701 | |
| Ubuntu 20.04 | node-nodemailer | Fix pending | UBUNTU-CVE-2026-100701 | |
| Debian 14 | node-nodemailer | Fixed | 10.0.10+~8.0.1-1 | DEBIAN-CVE-2026-100701 |
| Debian 13 | node-nodemailer | Fix pending | DEBIAN-CVE-2026-100701 | |
| Debian 12 | node-nodemailer | Fix pending | DEBIAN-CVE-2026-100701 | |
| Red Hat Enterprise Linux 10 | grafana | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | grafana-selinux | Fix pending Fix deferred | ||
| npm library | nodemailer | Fixed | 10.0.2 | GHSA-6vj9-mwq6-2f5v |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- nodemailer: affected: 5.0.0 to before 10.0.2, 10.0.2 not affected; fixed in
10.0.2
Vendor advisories:
References
- https://github.com/nodemailer/nodemailer/security/advisories/GHSA-6vj9-mwq6-2f5v
- https://www.vulncheck.com/advisories/nodemailer-5.0.0-through-10.0.1-tls-servername-cache-confusion
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.