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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| nodemailer | nodemailer | 3.0.0 – < 10.1.4 | 10.1.4 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-nodemailer | No fix yet | — |
| Debian 13 | node-nodemailer | No fix yet | — |
| Debian 12 | node-nodemailer | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-nodemailer | No fix yet | — |
| Ubuntu 26.04 LTS | node-nodemailer | No fix yet | — |
| Ubuntu 24.04 LTS | node-nodemailer | No fix yet | — |
| Ubuntu 22.04 LTS | node-nodemailer | No fix yet | — |
| Ubuntu 20.04 LTS | node-nodemailer | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | nodemailer | >= 3.0.0, < 10.1.4 | 10.1.4 | GHSA-8c8m-p3m8-cjg8 |
References
- GitHub Security Advisory (GHSA-8c8m-p3m8-cjg8) vendor-advisory
- VulnCheck Advisory: Nodemailer 3.0.0 before 10.1.4 Address Parsing Bypass via Nested Comments third-party-advisory