nodemailer
npm20 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting nodemailerpage 1 of 1
- CVE-2020-7769HIGHCVSS 8.6EG 8.6fixed in 6.4.162020-11-12
This affects the package nodemailer before 6.4.16. Use of crafted recipient email addresses may result in arbitrary command flag injection in sendmail transport for sending mails.
- CVE-2021-23400MEDIUMCVSS 6.3EG 6.3fixed in 6.6.12021-06-29
The package nodemailer before 6.6.1 are vulnerable to HTTP Header Injection if unsanitized user input that may contain newlines and carriage returns is passed into an address object.
- CVE-2024-58379MEDIUMCVSS 5.3EG 5.3fixed in 6.9.92026-08-31
nodemailer before 6.9.9 contains a regular expression denial of service vulnerability in email parsing when attachDataUrls parameter is set or processing embedded file attachments. Attackers can send specially crafted emails with malicious…
- CVE-2025-13033HIGHCVSS 7.5EG 7.5fixed in 7.0.72025-11-14
A vulnerability was identified in the email parsing library due to improper handling of specially formatted recipient email addresses. An attacker can exploit this flaw by crafting a recipient address that embeds an external address within…
- CVE-2025-14874HIGHCVSS 7.5EG 7.5fixed in 7.0.112025-12-18
A flaw was found in Nodemailer. This vulnerability allows a denial of service (DoS) via a crafted email address header that triggers infinite recursion in the address parser.
- CVE-2026-100699MEDIUMCVSS 5.3EG 5.3fixed in 10.0.92026-09-26
Nodemailer is a Node.js email-sending library. In versions >= 9.1.0 and < 10.0.9, the address parser (src/addressparser) mishandles addresses whose local-part is a quoted string and that are followed by RFC 5322 comments, allowing trailing…
- CVE-2026-100700HIGHCVSS 7.5EG 7.5fixed in 10.0.62026-09-26
nodemailer before 10.0.6 contains a denial of service vulnerability in the addressparser free-text fallback regex pattern that exhibits quadratic backtracking behavior. Attackers can supply crafted email header values with long whitespace-…
- CVE-2026-100701MEDIUMCVSS 5.9EG 5.9fixed in 10.0.22026-09-26
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 …
- CVE-2026-100702MEDIUMCVSS 5.9EG 5.9fixed in 10.0.22026-09-26
Nodemailer before 10.0.2 fails to properly flatten deeply nested arrays in recipient fields such as to, cc, and bcc, allowing attackers to cause stack exhaustion. Attackers can supply a deeply nested JSON recipient array that triggers recu…
- CVE-2026-82659HIGHCVSS 7.1EG 7.1fixed in 9.0.12026-08-31
nodemailer before 9.0.1 fails to apply disableFileAccess and disableUrlAccess flags to message-level raw option, allowing authenticated attackers to read arbitrary files or perform server-side request forgery by supplying path or href prop…
- CVE-2026-82660MEDIUMCVSS 5.4EG 5.4fixed in 8.0.92026-08-31
Nodemailer before 8.0.9 fails to enforce disableFileAccess and disableUrlAccess options during message normalization in jsonTransport. Attackers can read local files or fetch URLs by supplying path or href values in message content fields,…
- CVE-2026-82661MEDIUMCVSS 5.4EG 5.4fixed in 8.0.92026-08-31
Nodemailer before 8.0.9 fails to sanitize carriage return and line feed characters in list comment fields, allowing attackers to inject arbitrary message headers. An attacker with control over list.*.comment parameters can inject CRLF sequ…
- CVE-2026-82662MEDIUMCVSS 6.5EG 6.5fixed in 8.0.82026-08-31
Nodemailer before 8.0.8 disables TLS certificate verification in lib/fetch/index.js through rejectUnauthorized: false, allowing attackers to intercept OAuth2 token requests. Attackers in a machine-in-the-middle position can capture OAuth c…
- CVE-2026-82853MEDIUMCVSS 4.9EG 4.9fixed in 8.0.52026-08-31
Nodemailer versions before 8.0.5 contain an SMTP command injection vulnerability in the transport name option used in EHLO/HELO commands. The name parameter is concatenated directly into SMTP commands without sanitizing carriage return and…
- CVE-2026-82854CRITICALCVSS 9.8EG 9.8fixed in 8.0.42026-08-31
Nodemailer before 8.0.4 is vulnerable to SMTP command injection through the unsanitized envelope.size parameter. When an application passes a custom envelope object with a size property containing CRLF characters to sendMail(), the value i…
- CVE-2026-90776HIGHCVSS 7.5EG 7.5fixed in 10.0.52026-09-13
Nodemailer versions 9.1.0 through 10.0.4 contain a quadratic time complexity vulnerability in the addressparser component when parsing email addresses with RFC 5322 comments. Attackers can craft malicious email headers with comment-separat…
- CVE-2026-92595MEDIUMCVSS 5.9EG 5.9fixed in 9.1.12026-09-16
Nodemailer (npm package `nodemailer`) versions 9.1.0 and earlier do not honor the `disableFileAccess` and `disableUrlAccess` sandbox options when message content is resolved through the public plugin API `MailMessage.resolveContent()` usin…
- CVE-2026-92596HIGHCVSS 7.5EG 7.5fixed in 9.1.02026-09-16
Nodemailer before 9.1.0 contains a quadratic time complexity vulnerability in the addressparser component that allows remote attackers to cause denial of service by supplying a crafted comma-separated address list. Attackers can send a sin…
- CVE-2026-92597MEDIUMCVSS 6.5EG 6.5fixed in 9.1.02026-09-16
Nodemailer versions >= 6.9.16 and < 9.1.0 mis-parse RFC 5322 comments in email addresses: in lib/addressparser, a comment closed immediately before a non-break character causes the tokenizer to concatenate the atoms surrounding the comment…
- CVE-2026-92598MEDIUMCVSS 6.5EG 6.5fixed in 9.1.02026-09-16
Nodemailer before 9.1.0 fails to apply UTS-46 normalization when encoding international domain names, causing the domain resolver to compute a different Punycode A-label than standards-compliant parsers. Attackers can craft recipient addre…
Check whether nodemailer is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for nodemailer CVEs against the assets you own.
Book a Demo →