Nodemailer
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.3high · scored by CNA · CWE-436
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
nodemailer nodemailer
- >= 3.0.0, < 10.4.1
Fixed in 10.4.1
Mitigation
Upgrade nodemailer to 10.4.1 or later.
References
- Vendor advisory github.com/nodemailer/nodemailer/security/advi…
- Patch github.com/nodemailer/nodemailer/commit/c2b9c4…
- Release notes github.com/nodemailer/nodemailer/releases/tag/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.