Skip to main content

Nodemailer CVE-2026-121424

| EUVDEUVD-2026-115956 HIGH
Improper Input Validation (CWE-20)
2026-11-03 VulnCheck GHSA-f6c5-wvmr-hc29
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 RFC 5322 address with nested comment
  2. Exploit
    Conformant validator approves it against recipient allow list
  3. Execution
    addressparser ends comment at first ')' exposing evil@evil.com
  4. Impact
    Nodemailer issues RCPT TO attacker domain or mailparser misreports message author

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Exploitation requires that the application pass attacker-influenced address text to Nodemailer (e.g. the to/from fields of sendMail) OR that an inbound message's From/To header be parsed with mailparser; no access to the application, its configuration, or its credentials is needed, and the malicious value is a syntactically valid RFC 5322 address that conformant parsers accept without defects. The impact is bounded by a specific deployment pattern: it only matters where a conformant validator enforces a recipient allow list or a sender/author check (e.g. a DMARC or display layer), since that is the boundary the nested-comment bypass crosses - applications that do not allow-list recipients or check authors gain no new exposure. Affected versions are 3.0.0 through 10.1.3; the only complete fix stated by the vendor is upgrading to 10.1.4, which counts comment depth and ends a comment only at the parenthesis closing the outermost one.

Impact

Using all signals: the vendor CVSS 4.0 base score is 8.3 (High) with vector AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N - network-reachable and requiring no privileges or user interaction, but carrying AT:P (and AC:H) that reflect a genuine attack requirement, namely that the target application must perform conformant RFC 5322 validation/allow-listing for the bypass to matter. No EPSS score is present in the provided data and there is no CISA KEV listing, so this is not confirmed actively exploited; a public PoC reference exists (working demonstration code is embedded in the GHSA advisory) proving the parser misbehavior, but PoC availability is not the same as in-the-wild exploitation. The vuln.today Decision label is this_week (not act_now/emergency), which is consistent with: real and concrete impact (recipient redirection / sender spoofing bypassing allow lists) but gated by deployment conditions rather than a mass-exploitable default-config RCE. Net: a legitimate priority to patch this week for anyone passing user-influenced addresses to Nodemailer or consuming mailparser, but its real-world blast radius depends on whether the application relies on recipient allow-listing or author checks - where it does not, exposure is limited.

Exploit ScenarioDerived

An application validates a user-submitted address with a conformant RFC 5322 parser and permits only its own domain; the attacker submits Victim (x(y) <evil@evil.com>) <v@victim.com>, which the validator accepts as v@victim.com, yet Nodemailer's addressparser ends the nested comment at the first ) and delivers the mail to evil@evil.com. A public proof-of-concept demonstrating this exact divergence is included in the GHSA advisory. Because AV:N/PR:N/UI:N, the attacker only needs to control the address text - no application access, configuration, or credentials - though exploitation materializes only where allow-list or author-check validation is in play.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available

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

Alert me

AnalysisAIv1 – Nov 03, 2026

Nodemailer's addressparser (versions 3.0.0 through 10.1.3) terminates a nested RFC 5322 comment at the first closing parenthesis instead of the one that closes the outermost comment, so a value such as Victim (x(y) <evil@evil.com>) <v@victim.com> - which conformant parsers read as the address v@victim.com - is parsed by Nodemailer as evil@evil.com. Unauthenticated remote attackers who can influence address text handed to sendMail, or the From/To header of an inbound message parsed with mailparser, can therefore redirect mail intended for an approved recipient to an attacker-chosen domain or make a mailparser-based layer disagree with a conformant DMARC/display check about the author of the same message, crossing recipient allow-list and sender/author boundaries. The vendor advisory publishes a PoC reference (a code snippet demonstrating the mis-parse); it is not verified as working exploit code, no active exploitation is confirmed, and the practical impact is bounded to deployments that actually enforce conformant validation plus an allow list or author check. Fixed in 10.1.4.

RemediationAI

Upgrade Nodemailer to 10.1.4, the version in which addressparser counts comment depth and closes a comment only at the parenthesis matching the outermost one; the vendor states upgrading is the only complete fix for this issue, and the corresponding change is commit 0a8761762ac78f2db2ba37f712f2a52a404ce011. Because mailparser consumes the same parsing logic, update any dependency tree that pulls in addressparser or mailparser so that no copy of the vulnerable versions (3.0.0 through 10.1.3) remains resolved in the lockfile, and re-audit bundled or vendored copies. Where the upgrade cannot be applied immediately, scope the exposure by determining whether the deployment actually enforces a conformant RFC 5322 validation step together with a recipient allow list or a sender/author check - that combination is the boundary this bypass crosses, and applications without such allow-listing or author verification gain no new exposure from this defect. Advisory: https://github.com/nodemailer/nodemailer/security/advisories/GHSA-8c8m-p3m8-cjg8.

Affected VersionsENISA

nodemailer 3.0.0 <10.1.4

Affected Packages

euvd nodemailer fix: 10.1.4

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

The affected component is addressparser, the RFC 5322 address-list parser shipped inside the Nodemailer npm package and also consumed directly by downstream code such as mailparser; the same parse result feeds the SMTP envelope Nodemailer builds, so the mis-read address becomes the actual RCPT TO. RFC 5322 comments nest, but addressparser ended a comment at the first ) - including the parenthesis that closes a nested comment - and then treated the remainder of the outer comment as header text, producing { address: 'evil@evil.com', name: 'Victim) v@victim.com' } from an input that Python's email._header_value_parser.get_address_list reads as v@victim.com with display name Victim and no defects. This is classified as CWE-20 (improper input validation) in the CVE record, with the GitHub advisory also tagging CWE-436 (interpretation conflict), which is the more precise framing: two spec-conformant parsers disagree about the same syntactically valid string, and only the non-conformant one is used to build the delivery envelope or the reported author. The trigger is the nesting of comments; the vendor describes the defect as the same shape as the escaped-parenthesis issue fixed in 10.1.2, reached through nesting instead of a quoted-pair. The fix counts comment depth and ends a comment only at the ) that closes the outermost one. The assessment vector AV:N/AC:L/PR:N/UI:N reflects network-reachable, unauthenticated exploitation with no user interaction; the vendor's CVSS 4.0 AT:P/AC:H components correspond to the requirement that the target application perform conformant RFC 5322 validation and allow-listing for the bypass to have any effect. The issue was found in an internal review of addressparser on 2026-10-18 and verified on 3.0.0, 6.9.16 and 10.1.3.

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 8.2 HIGH

Trigger is a deterministic crafted address needing no privileges or interaction, so AC:L/PR:N/UI:N; impact is disclosure of redirected mail content (C:H) with limited sender spoofing (I:L) and no availability effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/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

Lifecycle Timeline

2
Patch available
Nov 03, 2026 - 16:17 EUVD
CVE Published
Nov 03, 2026 - 14:28 cve.org
HIGH 8.3

DescriptionCVE.org

Nodemailer from 3.0.0 before 10.1.4 contains an address parsing vulnerability in addressparser that allows remote attackers to redirect recipients by ending nested RFC 5322 comments at the first closing parenthesis. Attackers can submit addresses whose nested comment hides an attacker address, bypassing conformant validators and recipient allow lists to receive mail or spoof senders in mailparser.

Technical POC Analysis

CWE-20 (Improper Input Validation), with the accompanying CWE-436 (Interpretation Conflict) the advisory also assigns: two parsers read the same string and disagree about who the author is.

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

CVE-2026-121424 in Nodemailer (versions 3.0.0-10.1.3) allows unauthenticated attackers to redirect outbound email to attacker-controlled domains or spoof sender identity in inbound mail parsing, undermining recipient allow-lists and DMARC/author checks. Any application or service using these Nodemailer versions to send or parse email is affected, potentially leading to data exfiltration, phishing, or business email compromise. Leadership should prioritize remediation because this directly impacts email integrity and trust boundaries.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include input validation to reject nested comments, using an alternative RFC 5322-compliant parser for critical address handling, and enforcing additional verification of recipient/sender addresses beyond Nodemailer's parsing.

Threat Intelligence Overview

Prevalence
High
de facto Node.js email library, millions of weekly npm downloads
Social Media
1
Sightings
Data Quality
4 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 N/A
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-82662 HIGH
8.3 Aug 31

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

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

CVE-2026-82853 MEDIUM
6.9 Aug 31

SMTP command injection in Nodemailer (npm) versions up to and including 8.0.4 allows an attacker who can influence the t

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