CVE-2026-100701nodemailer
Medium 6.0
Follow: this CVE · nodemailer · nodemailer We alert you by email or Slack (account required).
- Priority
- 36
- CVSS 4.0
- 6.0
- EPSS
- —
- Auth required
- Yes
- Published
- Sep 26, 2026
- Updated
- Sep 30, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-295
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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
- Apply the vendor's security update for nodemailer.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | nodemailer |
≥ 5.0.0 < 10.0.2 |
10.0.2 |
npm install nodemailer@10.0.2 |
Per OSV / GitHub Advisories (GHSA-6vj9-mwq6-2f5v). Check the version in your lockfile before upgrading.
Affected products
- nodemailer · nodemailer
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.