Red Hat VEX
RHVEX-CVE-2026-82854
nodemailer: nodemailer: SMTP command injection via unsanitized envelope size parameter
Details
A flaw was found in nodemailer. When an application permits untrusted input to set the custom envelope size setting, carriage return and line feed (CRLF) characters are not properly sanitized before being placed into the Simple Mail Transfer Protocol (SMTP) command stream. A remote attacker could exploit this vulnerability to inject arbitrary SMTP commands, allowing them to silently add unauthorized recipients to outgoing emails or manipulate message delivery.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:10 | grafana | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:10 | grafana-selinux | All versions, no fix (fix deferred) |
References
- https://access.redhat.com/security/cve/CVE-2026-82854
- https://bugzilla.redhat.com/show_bug.cgi?id=2526189
- https://www.cve.org/CVERecord?id=CVE-2026-82854
- https://nvd.nist.gov/vuln/detail/CVE-2026-82854
- https://github.com/nodemailer/nodemailer/security/advisories/GHSA-c7w3-x93f-qmm8
- https://www.vulncheck.com/advisories/nodemailer-before-8.0.3-smtp-command-injection-via-envelope-size