npmWorst: Critical33 advisories

nodemailer: known vulnerabilities

nodemailer has 33 reviewed security advisories in the GitHub Advisory Database — 1 critical, 11 high, 20 moderate, 1 low. The most recent was published 2026-10-27. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the nodemailer versions running across your servers, containers and images, and ranks what to patch first.

How to fix nodemailer

Upgrade nodemailer to a release at or above the fixed version shown for each advisory below. For npm:

npm install nodemailer@10.0.13 (or run npm audit fix)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (33)

Nodemailer: Quadratic backtracking in SMTP AUTH mechanism detection regexes allows pre-auth remote denial of service Moderate 5.9 CWE-1333 — Affected: from 3.0.0 up to 10.0.13. Fixed in 10.0.13. Published 2026-10-27. GHSA-4ffr-jq9g-5ffx · CVE-2026-110869
Nodemailer: Quadratic (O(n^2)) SMTP client reply parsing lets a malicious server or MITM cause a pre-auth remote denial of service Moderate 5.9 CWE-400 CWE-407 — Affected: from 3.0.0 up to 10.0.10. Fixed in 10.0.10. Published 2026-10-27. GHSA-4g23-2xm8-66gc · CVE-2026-110872
Nodemailer: RFC 5322 comment inside an angle-bracket address is never stripped Moderate 5.3 CWE-20 CWE-436 — Affected: from 3.0.0 up to 10.0.13. Fixed in 10.0.13. Published 2026-10-27. GHSA-g73g-hqqh-jr95 · CVE-2026-110870
Nodemailer: A ">" inside a quoted local part ends an angle-addr early in addressparser, delivering to a domain the header does not name Moderate 6.5 CWE-20 CWE-436 — Affected: from 3.0.0 up to 10.1.4. Fixed in 10.1.4. Published 2026-10-23. GHSA-85x2-q946-cp5h · CVE-2026-121426
Nodemailer: A nested comment ends early in addressparser, releasing the rest of the comment as a recipient Moderate 6.5 CWE-20 CWE-436 — Affected: from 3.0.0 up to 10.1.4. Fixed in 10.1.4. Published 2026-10-23. GHSA-8c8m-p3m8-cjg8 · CVE-2026-121424
Nodemailer: A ";" inside a quoted string or comment ends an address group early in addressparser, turning display text into a recipient Moderate 6.5 CWE-20 CWE-436 — Affected: from 3.0.0 up to 10.1.4. Fixed in 10.1.4. Published 2026-10-23. GHSA-m943-m63m-w62w · CVE-2026-121425
Nodemailer: Quadratic (O(n^2)) DKIM header unfolding lets a large folded header cause remote denial of service during signing Moderate 6.5 CWE-400 CWE-407 — Affected: from 3.0.0 up to 10.0.10. Fixed in 10.0.10. Published 2026-10-22. GHSA-39m8-27wv-hr27 · CVE-2026-110871
Duplicate Advisory: Nodemailer: Quadratic (O(n^2)) DKIM header unfolding lets a large folded header cause remote denial of service during signing High 6.5 CWE-400 — Affected: 3.0.0 through 10.0.9. No fixed release is listed. Published 2026-10-14. GHSA-wxxx-r42m-9rp8
Nodemailer addressparser: O(n^2) on comment-joined addresses enables a remote DoS (reachable via mailparser) High 7.5 CWE-400 CWE-407 — Affected: from 9.1.0 up to 10.0.5. Fixed in 10.0.5. Published 2026-09-30. GHSA-prgh-xp8r-p3m5 · CVE-2026-90776
Nodemailer: Nested structured recipient arrays bypass the parser depth limit and cause stack exhaustion DoS Moderate 5.9 CWE-674 — Affected: before 10.0.2. Fixed in 10.0.2. Published 2026-09-29. GHSA-8vvx-rff5-p5rq · CVE-2026-100702
Nodemailer: Quoted local-part can produce malformed envelope recipient through RFC 5322 comment parsing Moderate 5.3 CWE-20 CWE-436 — Affected: from 9.1.0 up to 10.0.9. Fixed in 10.0.9. Published 2026-09-29. GHSA-g57g-f23g-4646 · CVE-2026-100699
Nodemailer: Quadratic backtracking in the addressparser free-text fallback allows remote denial of service High 7.5 CWE-1333 CWE-407 — Affected: before 10.0.6. Fixed in 10.0.6. Published 2026-09-29. GHSA-v53p-9fqp-m79j · CVE-2026-100700
Nodemailer: Process-global DNS cache reuses TLS `servername` across transports, enabling cross-tenant SMTP credential disclosure Moderate 5.9 CWE-295 — Affected: from 5.0.0 up to 10.0.2. Fixed in 10.0.2. Published 2026-09-28. GHSA-6vj9-mwq6-2f5v · CVE-2026-100701
Duplicate Advisory: Nodemailer addressparser: O(n^2) on comment-joined addresses enables a remote DoS (reachable via mailparser) High 7.5 CWE-407 — Affected: 9.1.0 through 10.0.4. No fixed release is listed. Published 2026-09-13. GHSA-vm5r-23w9-m8hx
Nodemailer: Quadratic (O(n²)) time complexity in addressparser allows remote denial of service via a crafted address list High 7.5 CWE-400 CWE-407 — Affected: before 9.1.0. Fixed in 9.1.0. Published 2026-09-08. GHSA-2x7j-588g-ccc2 · CVE-2026-92596
Nodemailer: resolveContent() on a MailMessage bypasses disableFileAccess/disableUrlAccess when called with the legacy signature Moderate 5.9 CWE-73 CWE-918 — Affected: before 9.1.1. Fixed in 9.1.1. Published 2026-09-08. GHSA-8m3c-c648-2xjj · CVE-2026-92595
Nodemailer: Recipient-domain validation bypass via RFC 5322 comment mis-parsing leads to email delivery to an attacker-controlled domain Moderate 6.5 CWE-20 CWE-436 — Affected: from 6.9.16 up to 9.1.0. Fixed in 9.1.0. Published 2026-09-08. GHSA-cc9r-2j5m-2m83 · CVE-2026-92597
Nodemailer: IDN/Punycode domain allow-list bypass leads to email delivery to an attacker-controlled domain Moderate 6.5 CWE-20 CWE-436 — Affected: before 9.1.0. Fixed in 9.1.0. Published 2026-09-08. GHSA-wmmp-3585-3rmp · CVE-2026-92598
Duplicate Advisory: Nodemailer: Improper TLS Certificate Validation in OAuth2 Token Fetch Enables Credential Interception High 6.5 CWE-295 — Affected: up to and including 8.0.7. No fixed release is listed. Published 2026-08-31. GHSA-frj6-5rhh-vwfw
Duplicate Advisory: Nodemailer: Message-level raw option bypasses disableFileAccess/disableUrlAccess, enabling arbitrary file read and full-response SSRF in the delivered message High 7.1 CWE-73 — Affected: up to and including 9.0.0. No fixed release is listed. Published 2026-08-31. GHSA-h3hj-cmcx-xc66
Nodemailer: Message-level raw option bypasses disableFileAccess/disableUrlAccess, enabling arbitrary file read and full-response SSRF in the delivered message High 7.1 CWE-73 CWE-918 — Affected: before 9.0.1. Fixed in 9.0.1. Published 2026-06-18. GHSA-p6gq-j5cr-w38f · CVE-2026-82659
Nodemailer: CRLF injection in Nodemailer List-* header comments allows arbitrary message header injection Moderate 5.4 CWE-93 — Affected: before 8.0.9. Fixed in 8.0.9. Published 2026-06-15. GHSA-268h-hp4c-crq3 · CVE-2026-82661
Nodemailer: Improper TLS Certificate Validation in OAuth2 Token Fetch Enables Credential Interception High 6.5 CWE-295 — Affected: before 8.0.8. Fixed in 8.0.8. Published 2026-06-15. GHSA-r7g4-qg5f-qqm2 · CVE-2026-82662
Nodemailer jsonTransport bypasses disableFileAccess and disableUrlAccess during message normalization Moderate 5.4 CWE-862 — Affected: before 8.0.9. Fixed in 8.0.9. Published 2026-06-15. GHSA-wqvq-jvpq-h66f · CVE-2026-82660
Nodemailer Vulnerable to SMTP Command Injection via CRLF in Transport name Option (EHLO/HELO) Moderate 4.9 CWE-93 — Affected: before 8.0.5. Fixed in 8.0.5. Published 2026-04-08. GHSA-vvjj-xcjg-gr5g · CVE-2026-82853
Nodemailer has SMTP command injection due to unsanitized `envelope.size` parameter Low CWE-93 — Affected: before 8.0.4. Fixed in 8.0.4. Published 2026-03-26. GHSA-c7w3-x93f-qmm8 · CVE-2026-82854
Duplicate Advisory: Nodemailer is vulnerable to DoS through Uncontrolled Recursion Moderate 5.3 CWE-674 CWE-703 — Affected: before 7.0.11. Fixed in 7.0.11. Published 2025-12-18. GHSA-46j5-6fg5-4gv3
Nodemailer’s addressparser is vulnerable to DoS caused by recursive calls High 7.5 CWE-703 — Affected: from 3.0.0 up to 7.0.11. Fixed in 7.0.11. Published 2025-12-01. GHSA-rcmh-qjqh-p98v · CVE-2025-14874
Duplicate Advisory: Nodemailer: Email to an unintended domain can occur due to Interpretation Conflict High 7.5 CWE-1286 CWE-436 — Affected: before 7.0.7. Fixed in 7.0.7. Published 2025-11-14. GHSA-jj37-3377-m6vv
Nodemailer: Email to an unintended domain can occur due to Interpretation Conflict Moderate CWE-20 CWE-436 — Affected: before 7.0.7. Fixed in 7.0.7. Published 2025-10-07. GHSA-mm7p-fcc7-pg87 · CVE-2025-13033
nodemailer ReDoS when trying to send a specially crafted email Moderate 5.3 CWE-1333 — Affected: before 6.9.9. Fixed in 6.9.9. Published 2024-01-31. GHSA-9h6g-pr28-7cqp · CVE-2024-58379

Find nodemailer across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.