CVE-2026-125755: Nodemailer 3.0.0 before 10.4.1 Recipient Allow-List Bypass via addressparser
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.
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Nodemailerto a version that resolves this vulnerability.Fixed in 10.4.1