Skip to content
OpenAdvisories
Medium · 4.9 CVE-2026-82853 EUVD-2026-68441GHSA-q8rv-95x3-46j5GHSA-vvjj-xcjg-gr5g

Nodemailer before 8.0.5 SMTP Command Injection via CRLF

Published Aug 31, 2026 · Updated Aug 31, 2026 · Assigned by VulnCheck

Description

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 products

VendorProductAffectedFixed
nodemailer nodemailer < 8.0.5 8.0.5

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.

ReleasePackageFixed inAdvisory
Debian 14 node-nodemailer 8.0.11+~8.0.1-1 —
Debian 13 node-nodemailer No fix yet —
Debian 12 node-nodemailer No fix yet —
ReleasePackageFixed inAdvisory
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

EcosystemPackageAffectedFixedRecord
npm nodemailer < 8.0.5 8.0.5 GHSA-vvjj-xcjg-gr5g

References