Skip to content
Heist/ feed
Medium

Nodemailer before 10.0.9 Malformed Envelope Recipient via RFC 5322 Comment

Type: advisorySource: Official CVE List1 source record

Nodemailer is a Node.js email-sending library. In versions >= 9.1.0 and < 10.0.9, the address parser (src/addressparser) mishandles addresses whose local-part is a quoted string and that are followed by RFC 5322 comments, allowing trailing comment-separated domain atoms to be retained in the normalized address. For example, the input "user"@example.com(x)evil.com is parsed to the address value 'user@example.com evil.com', which contains additional attacker-controlled domain text separated by a literal space. This parsed value is used without further strict recipient validation when the message envelope is built (envelope.to in src/mime-node), so a malformed/ambiguous recipient address can be accepted and placed in the SMTP envelope. Whether this results in delivery to an unintended recipient on real SMTP servers has not been confirmed. The issue is a variant of the RFC 5322 comment parsing problem addressed in GHSA-cc9r-2j5m-2m83, affecting the separate quoted-local-part code path. Version 10.0.9 contains a fix.

Announced Group revision 1
Original source ↗

CVE-2026-100699

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-100699

nodemailer

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "nodemailer",
    "product": "nodemailer",
    "versions": [
      {
        "status": "affected",
        "version": "9.1.0",
        "lessThan": "10.0.9",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "10.0.9",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:npm/nodemailer",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-100699

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#3255 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement