p PatchFirst

CVE-2026-100701

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.0 · Medium · EPSS 0.1% · Fix available

Published
Updated

Stack: system · node

Affected products and versions

  • nodemailer

    Versions
    • ≥ 5.0.0, < 10.0.2: Affected (semver)
    • 10.0.2: Not affected (semver)

    Update to 10.0.2

  • node-nodemailer Debian:12

    Versions
    • 10.0.0+~8.0.1-1
    • 10.0.10+~8.0.1-1
    • 10.0.10+~8.0.2-1
    • 6.10.0+~6.4.17-1
    • 6.8.0+~6.4.6-1
    • 6.9.13+~6.4.14-1
    • 6.9.15+~6.4.16-1
    • 6.9.16+~6.4.16-1
    • 6.9.4+~6.4.9-1
    • 6.9.4+~6.4.9-2
    • 6.9.4+~6.4.9-3
    • 6.9.4+~6.4.9-4
    • 7.0.10+~7.0.2-1
    • 7.0.12+~7.0.5-1
    • 7.0.5+~7.0.1-1
    • 7.0.6+~7.0.1-1
    • 7.0.9+~7.0.2-1
    • 7.0.9+~7.0.2-2
    • 8.0.11+~8.0.1-1
    • 8.0.2+~7.0.11-1
    • 8.0.3+~7.0.11-1
    • 8.0.4+~7.0.11-1
    • 8.0.4+~7.0.11-2
    • 9.0.0+~8.0.1-1
    • 9.0.3+~8.0.1-1
    • 9.0.5+~8.0.1-1
    • 9.0.6+~8.0.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-nodemailer Debian:13

    Versions
    • 10.0.0+~8.0.1-1
    • 10.0.10+~8.0.1-1
    • 10.0.10+~8.0.2-1
    • 6.10.0+~6.4.17-1
    • 6.10.0+~6.4.17-1+deb13u1
    • 7.0.10+~7.0.2-1
    • 7.0.12+~7.0.5-1
    • 7.0.5+~7.0.1-1
    • 7.0.6+~7.0.1-1
    • 7.0.9+~7.0.2-1
    • 7.0.9+~7.0.2-2
    • 8.0.11+~8.0.1-1
    • 8.0.2+~7.0.11-1
    • 8.0.3+~7.0.11-1
    • 8.0.4+~7.0.11-1
    • 8.0.4+~7.0.11-2
    • 9.0.0+~8.0.1-1
    • 9.0.3+~8.0.1-1
    • 9.0.5+~8.0.1-1
    • 9.0.6+~8.0.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-nodemailer Debian:14

    Versions
    • 10.0.0+~8.0.1-1
    • 6.10.0+~6.4.17-1
    • 7.0.10+~7.0.2-1
    • 7.0.12+~7.0.5-1
    • 7.0.5+~7.0.1-1
    • 7.0.6+~7.0.1-1
    • 7.0.9+~7.0.2-1
    • 7.0.9+~7.0.2-2
    • 8.0.11+~8.0.1-1
    • 8.0.2+~7.0.11-1
    • 8.0.3+~7.0.11-1
    • 8.0.4+~7.0.11-1
    • 8.0.4+~7.0.11-2
    • 9.0.0+~8.0.1-1
    • 9.0.3+~8.0.1-1
    • 9.0.5+~8.0.1-1
    • 9.0.6+~8.0.1-1
    Affected ranges
    • ECOSYSTEM: < 10.0.10+~8.0.1-1

    Update to 10.0.10+~8.0.1-1

  • nodemailer npm

    Affected ranges
    • SEMVER: ≥ 5.0.0, < 10.0.2

    Update to 10.0.2

  • node-nodemailer Ubuntu:20.04:LTS

    Versions
    • 6.3.0-2
    • 6.3.1-1
    • 6.4.0-1
    • 6.4.1-1
    • 6.4.2-1
    • 6.4.5-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-nodemailer Ubuntu:22.04:LTS

    Versions
    • 6.4.17-3
    • 6.7.0-1
    • 6.7.0-2
    • 6.7.1+~6.4.4-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-nodemailer Ubuntu:24.04:LTS

    Versions
    • 6.9.4+~6.4.9-2
    • 6.9.4+~6.4.9-3ubuntu1
    • 6.9.4+~6.4.9-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-nodemailer Ubuntu:26.10

    Versions
    • 8.0.4+~7.0.11-1
    • 8.0.4+~7.0.11-2
    • 9.0.0+~8.0.1-1
    • 9.0.3+~8.0.1-1
    • 9.0.5+~8.0.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-nodemailer Ubuntu:26.04:LTS

    Versions
    • 7.0.5+~7.0.1-1
    • 7.0.9+~7.0.2-2
    • 7.0.10+~7.0.2-1
    • 7.0.12+~7.0.5-1
    • 8.0.4+~7.0.11-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →