---
id: "CVE-2026-125755"
page: "https://infrastack.ai/live/CVE-2026-125755"
kind: "vulnerability"
aliases: ["CVE-2026-125755"]
title: "Nodemailer: address parser truncates domains, letting mail reach attacker-chosen recipients"
severity: "high"
cvss: 8.3
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "nodemailer", "fixed": [], "affected": "", "ecosystem": "npm"}]
ecosystems: ["npm"]
tags: ["email", "node.js", "nodemailer", "package"]
not_affected_if: ["fixed-recipients", "no-user-recipient-input"]
published_at: "2026-11-10T16:17:22+00:00"
first_seen_at: "2026-11-10T16:22:34+00:00"
updated_at: "2026-11-10T16:23:20+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125755", "first_seen_at": "2026-11-10T16:22:34+00:00"}]
exploit_sources: []
---

# Nodemailer: address parser truncates domains, letting mail reach attacker-chosen recipients

Link for people: https://infrastack.ai/live/CVE-2026-125755 (this .md is for agents)

Nodemailer's addressparser cuts recipient domains at folding whitespace or comments before a dot, so a crafted to, cc, bcc or replyTo address passes domain checks. An attacker can then get mail delivered to an address of their choice under the application's sender identity.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- npm:nodemailer affected range not listed fixed no fixed version listed

## How to check

- Look for the `nodemailer` package in your lockfile and check its version (for example `npm ls nodemailer`).
- Check whether your app passes user-supplied to, cc, bcc or replyTo values to Nodemailer and relies on its domain checks to restrict recipients.

## Fix

- `nodemailer` `10.4.1` (fixed version for the range before 10.4.1, per the NVD description)

## Timeline

- 2026-11-10T16:22:34+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-125755

## Documents

- [advisory] Vendor advisory: github.com https://github.com/nodemailer/nodemailer/security/advisories/GHSA-3q53-mvfw-q9v8
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/nodemailer-3.0.0-before-10.4.1-recipient-allow-list-bypass-via-addressparser
- [fix] Patch: github.com https://github.com/nodemailer/nodemailer/commit/c2b9c41bb81b2294ebadd294ad15ff035a17d0a5
- [fix] Release notes: github.com https://github.com/nodemailer/nodemailer/releases/tag/v10.4.1

## From the sources

Nodemailer 3.0.0 before 10.4.1 contains an address parsing flaw in addressparser that truncates domains at folding whitespace or comments before a dot, allowing attackers to bypass recipient domain restrictions. Attackers can submit crafted to, cc, bcc or replyTo addresses that pass RFC 5322 domain checks but deliver mail to an attacker-chosen address under the application's sender identity.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
