---
id: CVE-2026-82661
title: >-
  Nodemailer before 8.0.9 fails to sanitize carriage return and line feed
  characters in list comment fields, allowing attackers to inject arbitrary
  message headers
summary: >-
  Nodemailer before 8.0.9 fails to sanitize carriage return and line feed
  characters in list comment fields, allowing attackers to inject arbitrary
  message headers. An attacker with control over list.*.comment parameters can
  inject CRLF se…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'
cwe:
  - CWE-93
vendor: nodemailer
product: nodemailer
affected:
  - nodemailer < 8.0.9
published: '2026-08-31'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T15:48:28.757'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-82661'
references:
  - url: >-
      https://github.com/nodemailer/nodemailer/security/advisories/GHSA-268h-hp4c-crq3
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/nodemailer-crlf-injection-via-list-header-comments
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/nodemailer/nodemailer/security/advisories/GHSA-268h-hp4c-crq3
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-82661.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-82661'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2526186'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-82661'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-82661'
tags:
  - nvd
  - cve.org
  - exploit-available
  - csaf
  - vex
  - red-hat
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-02T17:58:24.889861Z'
ingestedAt: '2026-09-13T09:27:39.898Z'
epss: 0.00261
epssPercentile: 0.15922
---

## Overview

Nodemailer before 8.0.9 fails to sanitize carriage return and line feed characters in list comment fields, allowing attackers to inject arbitrary message headers. An attacker with control over list.*.comment parameters can inject CRLF sequences to create additional headers in generated RFC822 messages, altering mail client behavior and message semantics.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Developer Hub, Self-service automation portal 2 · no fix planned: Red Hat Developer Hub, Self-service automation portal 2 · updated 2026-09-17 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-82661.json)
