Description
Nodemailer versions before 8.0.5 contain an SMTP command injection vulnerability in the transport name option used in EHLO/HELO commands. The name parameter is concatenated directly into SMTP commands without sanitizing carriage return and line feed characters, allowing attackers to inject arbitrary SMTP commands for email spoofing and phishing attacks.
Published: 2026-08-31
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Email spoofing and phishing via malicious SMTP commands.
Action: Update
AI Analysis

Impact

The vulnerability is a classic SMTP command injection where an attacker can insert carriage return and line feed characters into the HELO/EHLO name parameter. When the name is concatenated directly into the SMTP command, an attacker can append additional SMTP commands, enabling manipulation of email headers and potentially forging sender addresses. This increases the risk of phishing campaigns that appear to originate from trusted domains, undermining the integrity and authenticity of email communications. The weakness is classified as CWE-93, which indicates a lack of sanitization for input that is sent to a command processor.

Affected Systems

Any application using Nodemailer versions earlier than 8.0.5 is affected. The library must be replaced or updated to the version 8.0.5 or later; no other environments or components are listed as impacted beyond the Nodemailer package itself.

Risk and Exploitability

The CVSS score of 6.9 indicates a medium severity, reflecting the potential for widespread phishing. The EPSS score is not available, so exact exploitation frequency is unknown. The vulnerability is not yet in the CISA KEV catalog, indicating that there are no confirmed large‑scale attacks, but the attack vector is inferred to be the network, as malicious SMTP commands can be sent during a normal SMTP session. An attacker would need network access to the target SMTP server or to an application that uses Nodemailer to send mail on their behalf. Successful exploitation would grant the attacker the ability to send emails that appear to come from their chosen address, thereby compromising the integrity and authenticity of the mail system.

Generated by OpenCVE AI on August 31, 2026 at 10:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Nodemailer to 8.0.5 or later to remove the injection flaw.
  • If an upgrade cannot be performed immediately, restrict or validate the HELO/EHLO name parameter to reject any CRLF characters before it is sent to the SMTP server.
  • Deploy outbound email filtering rules that flag or block messages with forged sender addresses or suspicious header patterns as a mitigating posture against possible spoof attempts.

Generated by OpenCVE AI on August 31, 2026 at 10:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 31 Aug 2026 11:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 31 Aug 2026 09:00:00 +0000

Type Values Removed Values Added
Description Nodemailer versions before 8.0.5 contain an SMTP command injection vulnerability in the transport name option used in EHLO/HELO commands. The name parameter is concatenated directly into SMTP commands without sanitizing carriage return and line feed characters, allowing attackers to inject arbitrary SMTP commands for email spoofing and phishing attacks.
Title Nodemailer before 8.0.5 SMTP Command Injection via CRLF
First Time appeared Nodemailer
Nodemailer nodemailer
Weaknesses CWE-93
CPEs cpe:2.3:a:nodemailer:nodemailer:*:*:*:*:*:*:*:*
Vendors & Products Nodemailer
Nodemailer nodemailer
References
Metrics cvssV3_1

{'score': 4.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Nodemailer Nodemailer
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-31T11:00:28.826Z

Reserved: 2026-08-31T08:37:27.053Z

Link: CVE-2026-82853

cve-icon Vulnrichment

Updated: 2026-08-31T11:00:18.511Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-31T09:17:05.320

Modified: 2026-09-10T15:48:28.757

Link: CVE-2026-82853

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-31T08:46:27Z

Links: CVE-2026-82853 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T11:30:04Z

Weaknesses
  • CWE-93

    Improper Neutralization of CRLF Sequences ('CRLF Injection')