Email Domain Validation Bypass in Nodemailer by Nodemailer
CVE-2026-92597
8.3HIGH
What is CVE-2026-92597?
A vulnerability in Nodemailer versions 6.9.16 to below 9.1.0 allows for an email domain validation bypass due to improper parsing of RFC 5322 comments in email addresses. This occurs when comments directly precede non-break characters, causing the tokenizer to incorrectly merge domains. Consequently, an attacker can register a malicious domain and exploit this flaw to deliver emails to their controlled domain by manipulating the recipient address. Applications relying on strict RFC 5322 validation or simplistic allow-lists can inadvertently facilitate this attack. Users are advised to upgrade to Nodemailer version 9.1.0 or later to mitigate this security risk.
Affected Version(s)
nodemailer 6.9.16 < 9.1.0
nodemailer 9.1.0
