CVE-2026-82661: Nodemailer CRLF Injection via List-* Header Comments

Published Aug 31, 2026
·
Updated

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.

Affected Software

1 affected component
npm/nodemailer<8.0.9

Event History

Aug 31, 2026
CVE Published
via MITRE·08:46 AM
Data Sourced
via MITRE·08:46 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Deployments using Nodemailer versions before 8.0.9 are exposed if untrusted input can control a list.*.comment parameter used when generating messages.

2

What access does an attacker need to exploit this?

An attacker needs control over one or more list.*.comment values. They can supply carriage return and line feed sequences to add arbitrary headers to generated RFC822 messages.

3

What is the recommended remediation?

Upgrade Nodemailer to version 8.0.9 or later. If upgrading is not immediately possible, prevent untrusted input from reaching list.*.comment parameters and reject carriage return and line feed characters in those values.

4

How can I determine whether an application is affected?

Check whether the application uses a Nodemailer version earlier than 8.0.9 and whether it sets list header comment fields from user-controlled or otherwise untrusted data. Review generated message headers for unexpected additional headers when comment values contain CRLF characters.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203