CVE-2026-82853: Nodemailer before 8.0.5 SMTP Command Injection via CRLF

Published Aug 31, 2026
·
Updated

Nodemailer versions before 8.0.5 contain an SMTP command injection vulnerability in the transport name option used in EHLO/HELO commands. The name parameter is concatenated directly into SMTP commands without sanitizing carriage return and line feed characters, allowing attackers to inject arbitrary SMTP commands for email spoofing and phishing attacks.

Affected Software

1 affected component
nodemailer<8.0.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade nodemailer to a version that resolves this vulnerability.

    Fixed in 8.0.5

Event History

Aug 31, 2026
CVE Published
via MITRE·08:46 AM
Data Sourced
via MITRE·08:46 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using Nodemailer versions before 8.0.5 are exposed if an attacker with the required high privileges can control the SMTP transport name option used in EHLO or HELO commands.

2

What can an attacker do if they exploit it?

By supplying carriage return and line feed characters in the transport name, an attacker can inject arbitrary SMTP commands. The stated impact is email spoofing and phishing; confidentiality and availability impact are not indicated.

3

What should teams change to remediate the vulnerability?

Upgrade Nodemailer to version 8.0.5 or later. The affected behavior is the unsanitized concatenation of the transport name into SMTP commands, so do not allow untrusted values containing CR or LF characters in that option.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203