Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-82854— Nodemailer before 8.0.3 SMTP Command Injection via envelope.size

Quick assessment

Affected
nodemailer nodemailer
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Nodemailer是nodemailer组织开源的一个在Node.js应用中发送电子邮件的模块。 Nodemailer 8.0.4之前版本存在输入验证错误漏洞,该漏洞源于未对envelope.size参数进行清理,导致SMTP命令注入,攻击者可通过注入RCPT TO等命令静默添加受控收件人。

CVSS 9.8 · Critical EPSS 1.98% · P80

Affected Version Matrix 2

VendorProduct Version RangeStatus
nodemailer nodemailer < 8.0.3 affected
8.0.3 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-82854

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Nodemailer before 8.0.3 SMTP Command Injection via envelope.size
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对CRLF序列的转义处理不恰当(CRLF注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Nodemailer 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Nodemailer是nodemailer组织开源的一个在Node.js应用中发送电子邮件的模块。 Nodemailer 8.0.4之前版本存在输入验证错误漏洞,该漏洞源于未对envelope.size参数进行清理,导致SMTP命令注入,攻击者可通过注入RCPT TO等命令静默添加受控收件人。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
nodemailer nodemailer 0 ~ 8.0.3 -

II. Public POCs for CVE-2026-82854

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-82854

请登录查看更多情报信息。

Other References for CVE-2026-82854 (2)

Same Patch Batch · nodemailer · 2026-08-31 · 7 CVEs total

CVE-2026-82659 7.1 HIGH nodemailer before 9.0.1 File Read and SSRF via raw option
CVE-2026-82662 6.5 MEDIUM Nodemailer before 8.0.8 TLS Certificate Validation Bypass
CVE-2026-82660 5.4 MEDIUM Nodemailer jsonTransport bypasses disableFileAccess and disableUrlAccess
CVE-2026-82661 5.4 MEDIUM Nodemailer CRLF Injection via List-* Header Comments
CVE-2024-58379 5.3 MEDIUM nodemailer before 6.9.9 ReDoS via attachDataUrls parameter
CVE-2026-82853 4.9 MEDIUM Nodemailer before 8.0.5 SMTP Command Injection via CRLF

IV. Related Vulnerabilities

V. Comments for CVE-2026-82854

No comments yet


Leave a comment