#VU125300 CRLF injection in nodemailer
Published: April 8, 2026
nodemailer
nodemailer
Description
The vulnerability allows a remote user to inject arbitrary SMTP commands.
The vulnerability exists due to improper neutralization of CRLF sequences in the transport name option in lib/smtp-connection/index.js when constructing EHLO, HELO, or LHLO commands. A remote privileged user can supply a specially crafted name value containing CRLF sequences to inject arbitrary SMTP commands.
The issue occurs during SMTP connection initialization before the application's intended message commands are processed.