All reports
Medium

nodemailer: nodemailer: Email redirection via nested comment parsing

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-121424

Probability of exploitation in the next 30 days: 0.34%

FIRST EPSS · 2026-11-20

Description

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.

A flaw was found in nodemailer. A remote attacker can cause email redirection and information disclosure by supplying a specially crafted email address containing nested comments. The internal address parser prematurely ends comment processing at the first closing parenthesis, treating the remaining comment text as the destination address. This enables an attacker to bypass recipient allowlists and route sensitive communications to unauthorized destinations or spoof sender identities.