npm package

nodemailer 6.10.1 vulnerabilities, and the version that fixes all of them

nodemailer 6.10.1 has 15 known vulnerabilities (5 rated high or critical); 10.0.6 fixes all of them. 10.0.6 has 1 known vulnerability of its own, so upgrade to 10.1.2, which has none.

npm (opens in a new tab) describes it as “Easy as cake e-mail sending from your Node.js applications”

Known vulnerabilities
15
5 rated high or critical
Released
Apr 13, 2025
Latest is 10.1.2
Downloads last week
2.2M
9% of nodemailer downloads
Licence
MIT-0
Dependencies
None
Resolved by deps.dev

What to upgrade to

10.1.2 is the closest release with no known vulnerabilities that we checked.

  • 10.0.6

    Fixes all 15 known vulnerabilities. Released Sep 11, 2026.

    1 known vulnerability, worst rated warning
  • 10.1.2Upgrade to this

    Latest release. Released Oct 16, 2026.

    No known vulnerabilities

10.1.2 came out on Oct 16, 2026. A coding agent trained before then doesn’t know it exists, so it may suggest an older release. AI knowledge cutoff dates

Hand the fix to your coding agent

One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.

Findings

Every advisory for nodemailer 6.10.1

Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.

  1. LowCVE-2026-82854 on OSV.dev (opens in a new tab)GHSA-c7w3-x93f-qmm8EPSS: top 20%

    Nodemailer has SMTP command injection due to unsanitized `envelope.size` parameter

    Fixed in 8.0.4. Published Mar 26, 2026.

  2. WarningCVE-2026-82853 on OSV.dev (opens in a new tab)GHSA-vvjj-xcjg-gr5gEPSS: top 37%

    Nodemailer Vulnerable to SMTP Command Injection via CRLF in Transport name Option (EHLO/HELO)

    Fixed in 8.0.5. Published Apr 8, 2026.

  3. CriticalCVE-2026-92596 on OSV.dev (opens in a new tab)GHSA-2x7j-588g-ccc2EPSS: top 44%

    Nodemailer: Quadratic (O(n²)) time complexity in addressparser allows remote denial of service via a crafted address list

    Fixed in 9.1.0. Published Sep 8, 2026.

  4. WarningCVE-2025-13033 on OSV.dev (opens in a new tab)GHSA-mm7p-fcc7-pg87EPSS: top 54%

    Nodemailer: Email to an unintended domain can occur due to Interpretation Conflict

    Fixed in 7.0.7. Published Oct 7, 2025.

  5. CriticalCVE-2025-14874 on OSV.dev (opens in a new tab)GHSA-rcmh-qjqh-p98vEPSS: top 55%

    Nodemailer’s addressparser is vulnerable to DoS caused by recursive calls

    Fixed in 7.0.11. Published Dec 1, 2025.

  6. WarningCVE-2026-92598 on OSV.dev (opens in a new tab)GHSA-wmmp-3585-3rmpEPSS: top 68%

    Nodemailer: IDN/Punycode domain allow-list bypass leads to email delivery to an attacker-controlled domain

    Fixed in 9.1.0. Published Sep 8, 2026.

  7. WarningCVE-2026-92597 on OSV.dev (opens in a new tab)GHSA-cc9r-2j5m-2m83EPSS: top 70%

    Nodemailer: Recipient-domain validation bypass via RFC 5322 comment mis-parsing leads to email delivery to an attacker-controlled domain

    Fixed in 9.1.0. Published Sep 8, 2026.

  8. CriticalCVE-2026-82659 on OSV.dev (opens in a new tab)GHSA-p6gq-j5cr-w38fEPSS: top 74%

    Nodemailer: Message-level raw option bypasses disableFileAccess/disableUrlAccess, enabling arbitrary file read and full-response SSRF in the delivered message

    Fixed in 9.0.1. Published Jun 18, 2026.

  9. WarningCVE-2026-92595 on OSV.dev (opens in a new tab)GHSA-8m3c-c648-2xjjEPSS: top 80%

    Nodemailer: resolveContent() on a MailMessage bypasses disableFileAccess/disableUrlAccess when called with the legacy signature

    Fixed in 9.1.1. Published Sep 8, 2026.

  10. CriticalCVE-2026-100700 on OSV.dev (opens in a new tab)GHSA-v53p-9fqp-m79jEPSS: top 81%

    Nodemailer: Quadratic backtracking in the addressparser free-text fallback allows remote denial of service

    Fixed in 10.0.6. Published Sep 29, 2026.

  11. WarningCVE-2026-82661 on OSV.dev (opens in a new tab)GHSA-268h-hp4c-crq3EPSS: top 84%

    Nodemailer: CRLF injection in Nodemailer List-* header comments allows arbitrary message header injection

    Fixed in 8.0.9. Published Jun 15, 2026.

  12. WarningCVE-2026-82660 on OSV.dev (opens in a new tab)GHSA-wqvq-jvpq-h66fEPSS: top 84%

    Nodemailer jsonTransport bypasses disableFileAccess and disableUrlAccess during message normalization

    Fixed in 8.0.9. Published Jun 15, 2026.

  13. WarningCVE-2026-100702 on OSV.dev (opens in a new tab)GHSA-8vvx-rff5-p5rqEPSS: top 85%

    Nodemailer: Nested structured recipient arrays bypass the parser depth limit and cause stack exhaustion DoS

    Fixed in 10.0.2. Published Sep 29, 2026.

  14. CriticalCVE-2026-82662 on OSV.dev (opens in a new tab)GHSA-r7g4-qg5f-qqm2EPSS: top 92%

    Nodemailer: Improper TLS Certificate Validation in OAuth2 Token Fetch Enables Credential Interception

    Fixed in 8.0.8. Published Jun 15, 2026.

  15. WarningCVE-2026-100701 on OSV.dev (opens in a new tab)GHSA-6vj9-mwq6-2f5vEPSS: top 99%

    Nodemailer: Process-global DNS cache reuses TLS `servername` across transports, enabling cross-tenant SMTP credential disclosure

    Fixed in 10.0.2. Published Sep 28, 2026.

Who is still on a vulnerable nodemailer

61% of last week’s 25.7M nodemailer downloads went to versions with known vulnerabilities.

From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.

Is nodemailer the only one?

Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.

Check your whole repo

How this page is checked

StackPrism asks OSV.dev which advisories affect exactly nodemailer 6.10.1, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.

Last checked against npm, OSV.dev, deps.dev, CISA KEV and FIRST EPSS.