{"id":"CVE-2026-82854","published":"2026-08-31T08:46:28Z","modified":"2026-10-29T21:16:56Z","title":"Nodemailer before 8.0.4 SMTP Command Injection via envelope.size","vendor":"nodemailer","product":"nodemailer","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01975,"percentile":0.80986,"provenance":"source"},"cwes":[{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences"}],"references":[{"url":"https://github.com/nodemailer/nodemailer/security/advisories/GHSA-c7w3-x93f-qmm8","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/nodemailer-before-8.0.3-smtp-command-injection-via-envelope-size","tags":["third-party-advisory"]}],"priority":{"score":23.1,"factors":[{"name":"EPSS percentile","points":16.2},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"nodemailer","affectedVersions":[{"vendor":"nodemailer","product":"nodemailer","versions":["< 8.0.4"]}],"fixedVersions":[{"vendor":"nodemailer","product":"nodemailer","versions":["8.0.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-08-31T16:46:43.285974Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-68442","exploited":false,"provenance":"source"}}