npm package
nodemailer 4.6.6 vulnerabilities, and the version that fixes all of them
nodemailer 4.6.6 has 16 known vulnerabilities (6 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
- 16
- 6 rated high or critical
- Released
- Jun 10, 2018
- Latest is 10.1.2
- Downloads last week
- 113
- Under 1% 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.
Newest 4.x release. Released Nov 19, 2018.
16 known vulnerabilities, worst rated warningFixes all 16 known vulnerabilities. Released Sep 11, 2026.
1 known vulnerability, worst rated warning10.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
- CriticalVulnerability
16 known vulnerabilities in nodemailer 4.6.6
EPSS: top 17%6 rated high or critical. Most serious: CVE-2020-7769, Command injection in nodemailer. Upgrading to 10.0.6 fixes all of them.
- WarningOutdated
nodemailer 4.6.6 is 6 major versions behind
Latest release is 10.1.2.
Every advisory for nodemailer 4.6.6
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.
CriticalCVE-2020-7769 on OSV.dev (opens in a new tab)GHSA-48ww-j4fc-435pEPSS: top 17%
Command injection in nodemailer
Fixed in 6.4.16. Published May 10, 2021.
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.
WarningCVE-2021-23400 on OSV.dev (opens in a new tab)GHSA-hwqf-gcqm-7353EPSS: top 29%
Header injection in nodemailer
Fixed in 6.6.1. Published Dec 10, 2021.
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.
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.
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.
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.
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.
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.
WarningCVE-2024-58379 on OSV.dev (opens in a new tab)GHSA-9h6g-pr28-7cqpEPSS: top 79%
nodemailer ReDoS when trying to send a specially crafted email
Fixed in 6.9.9. Published Jan 31, 2024.
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.
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.
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.
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.
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.
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.
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.
How this page is checked
StackPrism asks OSV.dev which advisories affect exactly nodemailer 4.6.6, 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.