Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted address to to/cc/bcc/replyTo
-
DeliveryApplication domain check accepts .allowed.example suffix
-
Exploitaddressparser truncates domain at folding whitespace
-
ExecutionNodemailer builds envelope recipient ceo@victim.example
-
ImpactMail delivered to attacker-chosen address under app's identity
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V4 - API and Web Service Interpretation consistency
|
| Exploitation Conditions | Exploitation requires a consuming application that (1) accepts an attacker-controlled address string in to, cc, bcc or replyTo, (2) enforces a recipient-domain restriction (allow-list) using a validator other than Nodemailer's own parser - e.g. an RFC 5322 parser or a string suffix test - and (3) passes the same raw string to sendMail(). The specific trigger is a domain containing folding whitespace (SP, HTAB, CR, LF) or an RFC 5322 comment immediately before a dot, e.g. 'ceo@victim.example .allowed.example', which addressparser truncates while a conforming parser reads the full domain. Limiting factors: applications that do NOT perform recipient allow-listing, or that validate with Nodemailer-derived output / re-check the envelope, are not exploitable; the high complexity (AC:H/AT:P) reflects this dependence on the application's validation design. Affects Nodemailer 3.0.0 through 10.4.0; fixed in 10.4.1. The same parsing behavior is noted in postal-mime 4.2.0 (reported separately as GHSA-jh3p-792r-98gm). |
| Impact | This is a genuine authorization-bypass (recipient allow-list bypass) issue, but its real-world risk is conditional rather than universal. The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) scores 8.3 (High): network-reachable and unauthenticated, but with high attack complexity and a present attack requirement (AT:P), reflecting that exploitation depends on a specific application behavior, not on Nodemailer alone. The vuln.today decision label is 'this_week' (priority but not emergency), consistent with the absence of a CISA KEV listing - there is no confirmed active exploitation. No EPSS score was supplied, so statistical exploitation probability cannot be weighed. A working proof-of-concept is published in the GHSA advisory, so publicly available exploit code exists; this is a distinct signal from active exploitation and should not be read as in-the-wild use. The key nuance: the flaw only yields impact when the consuming application enforces its own recipient-domain restriction using a parser other than Nodemailer's and then passes the raw string to sendMail() - a common pattern (Nodemailer exports no validation API) but not a default-everywhere condition. Net: a real, prioritize-this-week issue for applications that gate recipients by domain, but not a drop-everything emergency, and lower-risk for applications that do not perform recipient allow-listing. |
| Exploit ScenarioDerived | An application restricts outbound mail to an approved domain (e.g. invitations may only go to addresses ending in allowed.example) and enforces this with an RFC 5322 parser or suffix check before passing the user-supplied string to Nodemailer's sendMail(). An unauthenticated or low-privileged attacker submits a crafted recipient such as 'ceo@victim.example .allowed.example'; the check sees a domain ending in .allowed.example and accepts it, while Nodemailer truncates at the folding whitespace and sets the SMTP envelope recipient to ceo@victim.example, delivering attacker-chosen mail under the application's sender identity. A working PoC demonstrating this envelope truncation is published in the GHSA advisory; the network vector and high complexity (AC:H/AT:P) reflect that success hinges on the application's validation pattern rather than on a directly controllable Nodemailer condition. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 10, 2026
Recipient allow-list bypass in Nodemailer 3.0.0 through 10.4.0 lets an application that restricts outbound mail by recipient domain send messages to an address outside that allow-list while using the application's own sender identity. The flaw is exploitable only when the application validates a user-supplied to, cc, bcc or replyTo string with an RFC 5322 parser or a suffix check other than Nodemailer's own parser and then passes the raw string to sendMail(), so exploitation complexity is high and applications without recipient allow-listing are not affected. Nodemailer 10.4.1 fixes the parser behavior; no CISA KEV entry confirms active exploitation, and a public proof-of-concept reference exists in the advisory but is not verified as working exploit code.
RemediationAI
Upgrade Nodemailer to 10.4.1 or later; the fixed release is https://github.com/nodemailer/nodemailer/releases/tag/v10.4.1 and the patch commit is https://github.com/nodemailer/nodemailer/commit/c2b9c41bb81b2294ebadd294ad15ff035a17d0a5, with the vendor advisory at https://github.com/nodemailer/nodemailer/security/advisories/GHSA-3q53-mvfw-q9v8. The commit changes addressparser to join folding whitespace around dots in the domain behind the '@', so an address such as 'ceo@victim.example .allowed.example' no longer produces the truncated envelope recipient 'ceo@victim.example'. The supplied advisory does not describe a supported workaround, and the patch is the complete fix; applications that remain on affected versions and enforce recipient-domain allow-lists should recognize that their pre-send validation can disagree with Nodemailer's envelope recipient until the upgrade is applied.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Nodemailer's addressparser is a custom tokenizer and address parser used to derive SMTP envelope recipients from message header fields. Under RFC 5322 obs-domain rules, a domain is a sequence of atoms with optional folding whitespace and comments around the dots, so a conforming parser reads 'ceo@victim.example .allowed.example' as the full domain 'victim.example.allowed.example'. Before 10.4.1, Nodemailer's parser ended the domain at the folding whitespace or comment before the dot, moved the remainder into the display name, and sendMail() used the truncated form 'ceo@victim.example' as the SMTP envelope recipient. This is CWE-436 (Interpretation Conflict): the address Nodemailer delivers to is not the address an RFC 5322 parser, and therefore the application's domain allow-list check, sees. The fix commit c2b9c41 adds folding-whitespace detection and a _joinDomainDotSpacing routine so SP, HTAB, CR and LF around a dot inside the domain are joined, while non-folding whitespace and domain literals are left alone. The same parsing behavior is noted in postal-mime 4.2.0 and was reported separately as GHSA-jh3p-792r-98gm; the affected CPE is cpe:2.3:a:nodemailer:nodemailer:*:*:*:*:*:*:*:*.
Know when Nodemailer gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Network-reachable and unauthenticated (AV:N/PR:N), but AC:H because impact depends on the application's non-Nodemailer domain validation; recipient/content redirection gives C:H and I:L, no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Nodemailer 3.0.0 before 10.4.1 contains an address parsing flaw in addressparser that truncates domains at folding whitespace or comments before a dot, allowing attackers to bypass recipient domain restrictions. Attackers can submit crafted to, cc, bcc or replyTo addresses that pass RFC 5322 domain checks but deliver mail to an attacker-chosen address under the application's sender identity.
Technical POC Analysis
CWE-436 (Interpretation Conflict): two parsers read the same recipient string and disagree on which mailbox it names.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity vulnerability in Nodemailer (versions 3.0.0 through 10.4.0) could allow bypass of recipient allow-lists, enabling unauthorized outbound emails from applications that use the library for sending mail. This could lead to data leakage or abuse of the organization's sender reputation, affecting any team relying on Nodemailer for controlled email dispatch. Leadership should prioritize remediation because the flaw directly undermines email security controls and could be exploited by malicious actors to send phishing or spam from trusted domains.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Nodemailer
View allThis affects the package nodemailer before 6.4.16. Rated critical severity (CVSS 9.8), this vulnerability is remotely ex
The package nodemailer before 6.6.1 are vulnerable to HTTP Header Injection if unsanitized user input that may contain n
Quadratic time complexity in Nodemailer's addressparser component, versions 9.1.0 through 10.0.4, allows remote unauthen
Unbounded recursion in Nodemailer's address parser (npm package versions 3.0.0 through 7.0.10) allows a single crafted e
Sandbox bypass in nodemailer <= 9.0.0 exposes arbitrary file read and full-response SSRF to any authenticated applicatio
SMTP command injection in Nodemailer before 8.0.4 lets attackers smuggle arbitrary SMTP verbs (notably RCPT TO) into out
Denial of service in Nodemailer versions before 10.0.6 lets remote, unauthenticated attackers stall the Node.js event lo
Nodemailer 3.0.0 through 10.1.3 misparses angle-addresses in its addressparser, letting a crafted recipient value such a
TLS certificate verification is disabled by hardcoded `rejectUnauthorized: false` in Nodemailer's internal HTTPS fetch c
Nodemailer 3.0.0 through 10.1.3 contains a recipient-injection flaw in its bundled addressparser: a semicolon inside a q
Nodemailer's addressparser (versions 3.0.0 through 10.1.3) terminates a nested RFC 5322 comment at the first closing par
Stack exhaustion in Nodemailer before 10.0.2 allows unauthenticated remote attackers to crash an affected Node.js proces
EUVD-2026-121238
GHSA-j5rx-43mx-fv6c
NVD
CVE.org
EPSS
Exploit-DB