CVE-2026-82854
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.
Scoring
- Severity
- CRITICAL
- CVSS base score
- 9.8
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- EPSS probability
- 1.13%
- CWE
- CWE-93
- Published
- 2026-08-31
- Last modified
- 2026-08-31
Affected products
- nodemailer nodemailer
- nodemailer nodemailer
Weakness type
Related vulnerabilities
- CVE-2026-48019 — CRLF injection in Laravel's default email rule enables SMTP smuggling and spoofed-mail relay
- CVE-2026-75925 — IXON VPN Client CRLF Injection
- CVE-2026-84962 — Authenticated KMS request forgery via CRLF injection in GCP key identifier strings
- CVE-2026-84379 — HTTPX2: Multipart part header injection via unvalidated file Content-Type and custom headers
- CVE-2026-84372 — Predis: Redis command injection and denial of service via CRLF smuggling in pipelined commands on aggregate connections
- CVE-2026-82853 — Nodemailer before 8.0.5 SMTP Command Injection via CRLF
- CVE-2026-82661 — Nodemailer CRLF Injection via List-* Header Comments
- CVE-2026-33606 — Mail content stored by a user can be crafted so that it is interpreted as dsync protocol commands...