Critical severity · published Aug 31, 2026
CVE-2026-82854
Nodemailer before 8.0.3 SMTP Command Injection via envelope.size
9.8
CVSS
2%
EPSS
No
On KEV
Description
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 attacker-controlled recipients. Exploitation requires the application to expose the envelope size to attacker-controlled input, as Nodemailer does not include size in the default auto-constructed envelope.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.0% · higher than 80% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NO
nodemailer · nodemailer
before 8.0.3 · source: vendor
Affected product
NO
nodemailer
nodemailer
More from nodemailer
9.8
CVE-2020-7769
This affects the package nodemailer before 6.4.16
8.8
CVE-2021-23400
The package nodemailer before 6.6.1 are vulnerable to HTTP Header Injection if unsanitized user input that may contain newlines and carriage returns is passed into an address…
7.5
CVE-2026-110869
Nodemailer 3.0.0 before 10.0.13 ReDoS via SMTP AUTH Mechanism Detection Regexes
7.5
CVE-2026-100700
nodemailer before 10.0.6 Denial of Service via addressparser
7.5
CVE-2026-92596
Nodemailer before 9.1.0 Denial of Service via addressparser