CRLF Injection Affecting node-nodemailer package, versions *


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.13% (65th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-NODENODEMAILER-19477149
  • published1 Sept 2026
  • disclosed31 Aug 2026

Introduced: 31 Aug 2026

NewCVE-2026-82854  (opens in a new tab)
CWE-93  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest node-nodemailer.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-nodemailer package and not the node-nodemailer package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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 Base Scores

version 3.1