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

- Severity: Medium 6.0 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-09-26T13:23:57.215Z
- Modified: 2026-09-30T16:32:17.940Z
- Also known as: GHSA-6vj9-mwq6-2f5v
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- nodemailer nodemailer: from 5.0.0 before 10.0.2 (not affected: 10.0.2)
- nodemailer (npm): from 5.0.0 before 10.0.2

## Every score

- VulnCheck: CVSS:4.0 6.0 Medium `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`
- VulnCheck: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N`

## References

- <https://github.com/nodemailer/nodemailer/security/advisories/GHSA-6vj9-mwq6-2f5v> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/nodemailer-5.0.0-through-10.0.1-tls-servername-cache-confusion> (third-party-advisory)
- <https://github.com/nodemailer/nodemailer/commit/a6512dbcb3c6e7f2f70d3acccc5752defe3c61fe> (web)
- <https://github.com/nodemailer/nodemailer> (package)
- <https://github.com/nodemailer/nodemailer/releases/tag/v10.0.2> (web)

## Sources

- CVE List: [CVE-2026-100701](https://www.cve.org/CVERecord?id=CVE-2026-100701), CVE Terms of Use, modified 2026-09-26
- GitHub Advisory Database: [GHSA-6vj9-mwq6-2f5v](https://github.com/advisories/GHSA-6vj9-mwq6-2f5v), CC-BY-4.0, modified 2026-09-28
- NVD: [CVE-2026-100701](https://nvd.nist.gov/vuln/detail/CVE-2026-100701), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-100701 · Whole record: https://cve.day/CVE-2026-100701.json · Rebuilt by cve.day 2026-11-25T22:59:41.228Z
