
CVE catalog
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 CRL
- Severity
- Critical · CVSS 9.3
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 - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 1.98% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-nodemailer | sid | 10.1.7+~8.0.2-1 | fixed |
| Debian | node-nodemailer | forky | 10.0.14+~8.0.2-1 | fixed |
| Debian | node-nodemailer | trixie | 6.10.0+~6.4.17-1+deb13u1 | vulnerable |
| Debian | node-nodemailer | bookworm | 6.8.0+~6.4.6-1 | vulnerable |
| Ubuntu | node-nodemailer | 20.04 | 6.3.0-2 | vulnerable |
| Ubuntu | node-nodemailer | 20.04 | 6.3.1-1 | vulnerable |
| Ubuntu | node-nodemailer | 20.04 | 6.4.0-1 | vulnerable |
| Ubuntu | node-nodemailer | 20.04 | 6.4.1-1 | vulnerable |
| Ubuntu | node-nodemailer | 20.04 | 6.4.2-1 | vulnerable |
| Ubuntu | node-nodemailer | 20.04 | 6.4.5-1 | vulnerable |
| Ubuntu | node-nodemailer | 22.04 | 6.4.17-3 | vulnerable |
| Ubuntu | node-nodemailer | 22.04 | 6.7.0-1 | vulnerable |
| Ubuntu | node-nodemailer | 22.04 | 6.7.0-2 | vulnerable |
| Ubuntu | node-nodemailer | 22.04 | 6.7.1+~6.4.4-1 | vulnerable |
| Ubuntu | node-nodemailer | 24.04 | 6.9.4+~6.4.9-2 | vulnerable |
| Ubuntu | node-nodemailer | 24.04 | 6.9.4+~6.4.9-3ubuntu1 | vulnerable |
| Ubuntu | node-nodemailer | 24.04 | 6.9.4+~6.4.9-4 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-nodemailer | source | sid | 8.0.4+~7.0.11-1 | not yet assigned | Not reported | Not reported |
| Debian | node-nodemailer | source | forky | 8.0.4+~7.0.11-1 | not yet assigned | Not reported | Not reported |
| Debian | node-nodemailer | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | node-nodemailer | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
Notes
[trixie] node-nodemailer: Minor issue [bookworm] node-nodemailer: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-nodemailer]Affected
Details (2)
6.8.0+~6.4.6-1· all · bookwormAffected
nvd · node-nodemailer · debian · bookworm; nvd · node-nodemailer · debian · 12
6.8.0+~6.4.6-1· all · bookwormAffected
nvd · node-nodemailer · debian · bookworm; nvd · node-nodemailer · debian · 12
[Debian 13 (Trixie)]
- [node-nodemailer]Affected
Details (2)
6.10.0+~6.4.17-1+deb13u1· all · trixieAffected
nvd · node-nodemailer · debian · 13
6.10.0+~6.4.17-1+deb13u1· all · trixieAffected
nvd · node-nodemailer · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-82854]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-82854]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-82854]
- [https://security-tracker.debian.org/tracker/CVE-2026-82854]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-82854.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]