Packages

nodemailer

10.2.1 · 22 Oct 2026MIT-023.7M / weekRepositoryHomepagenpmAtom feed

Upgrading nodemailer from 6.9.11 to 10.1.4

63 releases in betweenevery note read

Other targets from 6.9.11Newest 6.x6.10.1Latest10.2.1

Before you upgrade

Tick each one off as you go
  • breaking10.0.0
  • breaking9.0.0
  • breaking8.0.0
  • breaking7.0.0

Security

Fixes 21 advisories affecting 6.9.11

  • Two pending security advisories (jsonTransport access bypass, List-* CRLF injection)

    8.0.9
  • Sanitize CRLF in transport name option to prevent SMTP command injection (GHSA-vvjj-xcjg-gr5g)

    8.0.5
  • Sanitize envelope size to prevent SMTP command injection

    8.0.4
  • ReDoS vulnerability in parseDataURI and _processDataUrl

    7.0.6

Release by release

  1. 10.1.4

    18 Oct 20269 fixes
    • fixed

      addressparser: apply the unexpected "<" rule outside quotes and comments

    • fixed

      addressparser: bound group nesting at ten levels

    • fixed

      addressparser: drop the obsolete route from an angle-addr

    • fixed

      addressparser: end a comment only at the ")" that closes the outermost one

  2. 10.1.3

    18 Oct 20261 fix
    • fixed

      Format References and strip URLs in linear time, release any number of streams

  3. 10.1.2

    16 Oct 20261 fix
    • fixed

      Bound the work a message can make the mailer do and keep per-message auth off the transport's token endpoint

  4. 10.1.1

    14 Oct 20261 fix
    • fixed

      fetch: strip credentials on any cross-origin redirect

  5. 10.1.0

    10 Oct 20262 new · 11 fixes
    • new

      Harden message streams, SMTP connections and the connection pool

    • new

      Encode base64 and quoted-printable without per-chunk delays

    • fixed

      Do not read the environment or the interface table on import

    • fixed

      End the SMTP session on any 421 reply and drive the envelope through one step

  6. 10.0.16

    7 Oct 20263 fixes
    • fixed

      addressparser: keep an escaped parenthesis inside a comment

    • fixed

      fetch: keep the case of cookie names

    • fixed

      fetch: read the cookie name-value pair by position

  7. 10.0.15

    5 Oct 20262 fixes
    • fixed

      errors: inherit NodemailerError code from ErrnoException (e99db61), closes #1884

    • fixed

      errors: keep NodemailerError compatible with @types/node 26 ErrnoException

  8. 10.0.14

    3 Oct 20266 fixes
    • fixed

      addressparser: keep a quoted display name that holds no "@" out of the address

    • fixed

      addressparser: keep the group recursion depth out of the options object

    • fixed

      addressparser: stop a "[" from hiding the operators after it

    • fixed

      dkim: trim a header field name in linear time

    • fixed

      mime-funcs: read and write header parameters per rfc2045 and rfc2231

    • fixed

      Search only the new bytes for the end of the proxy CONNECT response

1 internal line (docs, tests, tooling) left out.