CVE-2026-82854
Last modified
CVE-2026-82854 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 1.13% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| nodemailer | nodemailer | < 8.0.3 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-82854?
How severe is CVE-2026-82854?
How do I fix CVE-2026-82854?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-82835A weakness has been identified in caoqianming django-vue-adm…5.4
- CVE-2026-82838The default docker image shipped for Venueless did not prope…6.4
- CVE-2026-8284URL redirection to untrusted site ('open redirect') vulnerab…6.1
- CVE-2026-8285Improper restriction of excessive authentication attempts vu…4.3
- CVE-2026-82852Unauthenticated Server Side Request Forgery (SSRF) in MapSVG…5.4
- CVE-2026-82853Nodemailer versions before 8.0.5 contain an SMTP command inj…4.9
- CVE-2026-82855@hulumi/policies versions before 1.3.2 contain an evidence v…9.8
- CVE-2026-82856@hulumi/policies versions before 1.3.2 fail to properly vali…9.8
- CVE-2026-82857hulumi versions before v1.3.2 contain a privilege escalation…9.8
- CVE-2026-82858@hulumi/drift versions before 1.3.2 accept externally suppli…9.8
- CVE-2026-82859hulumi versions before v1.3.2 contain a deployment SCP templ…9.8
- CVE-2026-8286A vulnerability exists where a new transfer that uses STARTT…8.1
Are you affected by CVE-2026-82854?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
