Skip to main content

Nodemailer CVE-2026-125755

| EUVDEUVD-2026-121238 HIGH
Interpretation Conflict (CWE-436)
2026-11-10 VulnCheck GHSA-j5rx-43mx-fv6c
8.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit crafted address to to/cc/bcc/replyTo
  2. Delivery
    Application domain check accepts .allowed.example suffix
  3. Exploit
    addressparser truncates domain at folding whitespace
  4. Execution
    Nodemailer builds envelope recipient ceo@victim.example
  5. Impact
    Mail 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

nodemailer 3.0.0 <10.4.1

Affected Packages

euvd nodemailer fix: 10.4.1

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

Vendor (VulnCheck) PRIMARY 8.3 HIGH
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
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
High
Nodemailer is the dominant Node.js mailing library, deployed across countless backends
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2020-7769 CRITICAL POC
9.8 Nov 12

This affects the package nodemailer before 6.4.16. Rated critical severity (CVSS 9.8), this vulnerability is remotely ex

CVE-2021-23400 HIGH POC
8.8 Jun 29

The package nodemailer before 6.6.1 are vulnerable to HTTP Header Injection if unsanitized user input that may contain n

CVE-2026-90776 HIGH POC
8.7 Sep 13

Quadratic time complexity in Nodemailer's addressparser component, versions 9.1.0 through 10.0.4, allows remote unauthen

CVE-2025-14874 HIGH POC
7.5 Dec 18

Unbounded recursion in Nodemailer's address parser (npm package versions 3.0.0 through 7.0.10) allows a single crafted e

CVE-2026-82659 HIGH POC
7.1 Aug 31

Sandbox bypass in nodemailer <= 9.0.0 exposes arbitrary file read and full-response SSRF to any authenticated applicatio

CVE-2026-82854 CRITICAL
9.3 Aug 31

SMTP command injection in Nodemailer before 8.0.4 lets attackers smuggle arbitrary SMTP verbs (notably RCPT TO) into out

CVE-2026-100700 HIGH
8.7 Sep 26

Denial of service in Nodemailer versions before 10.0.6 lets remote, unauthenticated attackers stall the Node.js event lo

CVE-2026-121426 HIGH
8.3 Nov 03

Nodemailer 3.0.0 through 10.1.3 misparses angle-addresses in its addressparser, letting a crafted recipient value such a

CVE-2026-82662 HIGH
8.3 Aug 31

TLS certificate verification is disabled by hardcoded `rejectUnauthorized: false` in Nodemailer's internal HTTPS fetch c

CVE-2026-121425 HIGH
8.3 Nov 03

Nodemailer 3.0.0 through 10.1.3 contains a recipient-injection flaw in its bundled addressparser: a semicolon inside a q

CVE-2026-121424 HIGH
8.3 Nov 03

Nodemailer's addressparser (versions 3.0.0 through 10.1.3) terminates a nested RFC 5322 comment at the first closing par

CVE-2026-100702 HIGH
8.2 Sep 26

Stack exhaustion in Nodemailer before 10.0.2 allows unauthenticated remote attackers to crash an affected Node.js proces

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy