nodemailer
10.6.0 · 15 Nov 2026MIT-040.3M / weekRepositoryHomepagenpmAtom feed
10.6.1 is the newest release of 10.x.
Summary· from the note as AI read it
Security fixUpgrade: this release fixes a security issue.
Security
- Upgrade; delivered recipient domain could differ from the validated domain.
- Upgrade if you validate recipient domains; IDN encoding could bypass validation.
- Upgrade if you restrict recipients by domain; parsing mismatch could bypass checks.
- Upgrade; domain parsing mismatch could bypass recipient domain validation.
- Upgrade; IDN mapping mismatch could bypass recipient domain validation.
New
- Well-known services:
service: 'SpacePost'(smtp.spacepost.dev, port 25976, STARTTLS required).
In short
5 security1 new
- Security
A security patch release. Two cases where the recipient domain Nodemailer delivered to could differ from the domain an application had validated are fixed. SpacePost is added to the well-known services.
- Security
Recipient domains with internationalized characters are mapped the same way
url.domainToASCIIand other UTS-46 validators map them. Previously a few characters could encode to a different domain than the validator approved. Affected since 9.1.0. - Security
Address parsing: whitespace or a comment around a dot in a domain is read the way RFC 5322 parsers read it, as part of one domain. Previously the domain ended there and the rest moved into the display name.
- Security
addressparser: read whitespace and comments around a dot of the domain as CFWS
- Security
mime-node: hand a domain to the UTS-46 mapper without lowercasing it first
Release note
Summary
A security patch release. Two cases where the recipient domain Nodemailer delivered to could differ from the domain an application had validated are fixed. SpacePost is added to the well-known services.
Who should upgrade
Everyone who passes user-supplied recipient addresses to Nodemailer, especially applications that restrict recipients by domain. Both fixes close a gap between the domain a validator reads and the domain in the SMTP envelope.
Highlights
Recipient domains with internationalized characters are mapped the same way
url.domainToASCIIand other UTS-46 validators map them. Previously a few characters could encode to a different domain than the validator approved. Affected since 9.1.0.Address parsing: whitespace or a comment around a dot in a domain is read the way RFC 5322 parsers read it, as part of one domain. Previously the domain ended there and the rest moved into the display name.
Well-known services:
service: 'SpacePost'(smtp.spacepost.dev, port 25976, STARTTLS required).
Bug Fixes
addressparser: read whitespace and comments around a dot of the domain as CFWS
mime-node: hand a domain to the UTS-46 mapper without lowercasing it first
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.