npm package
nodemailer 3.0.2 vulnerabilities, and the version that fixes all of them
nodemailer 3.0.2 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.6, which has none. The maintainers deprecated this release.
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
- Feb 4, 2017
- Latest is 10.1.6
- Downloads last week
- 19
- Under 1% of nodemailer downloads
- Licence
- MIT-0
- Dependencies
- None
- Resolved by deps.dev
- Status
- Deprecated release
What to upgrade to
10.1.6 is the closest release with no known vulnerabilities that we checked.
Newest 3.x release. Released Mar 21, 2017.
16 known vulnerabilities, worst rated warningDeprecatedFixes all 16 known vulnerabilities. Released Sep 11, 2026.
1 known vulnerability, worst rated warning10.1.6Upgrade to this
Latest release. Released Oct 18, 2026.
No known vulnerabilities
10.1.6 came out on Oct 18, 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 3.0.2
6 rated high or critical. Most serious: CVE-2026-92596, Nodemailer: Quadratic (O(n²)) time complexity in addressparser allows remote denial of service via a crafted address list. Upgrading to 10.0.6 fixes all of them.
- WarningOutdated
nodemailer 3.0.2 is 7 major versions behind
Latest release is 10.1.6. The maintainers deprecated 3.0.2: "All versions below 4.0.1 of Nodemailer are deprecated. See https://nodemailer.com/status/"
Every advisory for nodemailer 3.0.2
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-2026-100700 on OSV.dev (opens in a new tab)GHSA-v53p-9fqp-m79j
Nodemailer: Quadratic backtracking in the addressparser free-text fallback allows remote denial of service
Fixed in 10.0.6. Published Sep 29, 2026.
CriticalCVE-2026-92596 on OSV.dev (opens in a new tab)GHSA-2x7j-588g-ccc2
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.
CriticalCVE-2026-82659 on OSV.dev (opens in a new tab)GHSA-p6gq-j5cr-w38f
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.
CriticalCVE-2026-82662 on OSV.dev (opens in a new tab)GHSA-r7g4-qg5f-qqm2
Nodemailer: Improper TLS Certificate Validation in OAuth2 Token Fetch Enables Credential Interception
Fixed in 8.0.8. Published Jun 15, 2026.
CriticalCVE-2025-14874 on OSV.dev (opens in a new tab)GHSA-rcmh-qjqh-p98v
Nodemailer’s addressparser is vulnerable to DoS caused by recursive calls
Fixed in 7.0.11. Published Dec 1, 2025.
CriticalCVE-2020-7769 on OSV.dev (opens in a new tab)GHSA-48ww-j4fc-435p
Command injection in nodemailer
Fixed in 6.4.16. Published May 10, 2021.
WarningCVE-2026-100702 on OSV.dev (opens in a new tab)GHSA-8vvx-rff5-p5rq
Nodemailer: Nested structured recipient arrays bypass the parser depth limit and cause stack exhaustion DoS
Fixed in 10.0.2. Published Sep 29, 2026.
WarningCVE-2026-92598 on OSV.dev (opens in a new tab)GHSA-wmmp-3585-3rmp
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.
WarningCVE-2026-92595 on OSV.dev (opens in a new tab)GHSA-8m3c-c648-2xjj
Nodemailer: resolveContent() on a MailMessage bypasses disableFileAccess/disableUrlAccess when called with the legacy signature
Fixed in 9.1.1. Published Sep 8, 2026.
WarningCVE-2026-82661 on OSV.dev (opens in a new tab)GHSA-268h-hp4c-crq3
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-h66f
Nodemailer jsonTransport bypasses disableFileAccess and disableUrlAccess during message normalization
Fixed in 8.0.9. Published Jun 15, 2026.
WarningCVE-2026-82853 on OSV.dev (opens in a new tab)GHSA-vvjj-xcjg-gr5g
Nodemailer Vulnerable to SMTP Command Injection via CRLF in Transport name Option (EHLO/HELO)
Fixed in 8.0.5. Published Apr 8, 2026.
WarningCVE-2025-13033 on OSV.dev (opens in a new tab)GHSA-mm7p-fcc7-pg87
Nodemailer: Email to an unintended domain can occur due to Interpretation Conflict
Fixed in 7.0.7. Published Oct 7, 2025.
WarningCVE-2024-58379 on OSV.dev (opens in a new tab)GHSA-9h6g-pr28-7cqp
nodemailer ReDoS when trying to send a specially crafted email
Fixed in 6.9.9. Published Jan 31, 2024.
WarningCVE-2021-23400 on OSV.dev (opens in a new tab)GHSA-hwqf-gcqm-7353
Header injection in nodemailer
Fixed in 6.6.1. Published Dec 10, 2021.
LowCVE-2026-82854 on OSV.dev (opens in a new tab)GHSA-c7w3-x93f-qmm8
Nodemailer has SMTP command injection due to unsanitized `envelope.size` parameter
Fixed in 8.0.4. Published Mar 26, 2026.
Who is still on a vulnerable nodemailer
57% of last week’s 15.6M 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 3.0.2, 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 (didn’t answer). Findings from that source may be missing; this page refreshes soon.