CVE-2026-82854: Vulnerability in Nodemailer
Critical. Nodemailer before 8.0.4 is vulnerable to SMTP command injection through the unsanitized envelope.size parameter. When an application passes a custom envelope object with a size property containing CRLF characters to sendMail(), the value is concatenated into the SMTP MAIL FROM command (as SIZE=...) without sanitization, allowing injection of arbitrary SMTP commands such as RCPT TO to silently add...
CWE-93
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-93
- Published
- 31 Aug 2026
- Last change
- 29 Oct 2026
Affected products
Affected versions and the first fixed release
- Nodemailer Before 8.0.4. Fixed in 8.0.4
Advisories
Vendor and security advisories
- github.com/nodemailer/nodemailer/security/advisories/GHSA-c7w3-x93f-qmm8
- vulncheck.com/advisories/nodemailer-before-8.0.3-smtp-command-injection-via-envelope-size
Related
- Nodemailer vulnerabilities Recent advisories, watch this product