CVE-2026-82662: Nodemailer before 8.0.8 TLS Certificate Validation Bypass

Published Aug 31, 2026
·
Updated

Nodemailer before 8.0.8 disables TLS certificate verification in lib/fetch/index.js through rejectUnauthorized: false, allowing attackers to intercept OAuth2 token requests. Attackers in a machine-in-the-middle position can capture OAuth client secrets, refresh tokens, and access tokens transmitted over compromised HTTPS connections.

Affected Software

1 affected component
npm/nodemailer<8.0.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade nodemailer to a version that resolves this vulnerability.

    Fixed in 8.0.8
  2. Configuration

    Ensure Nodemailer does not disable TLS certificate validation; remove/avoid rejectUnauthorized: false in lib/fetch/index.js so HTTPS connections correctly verify certificates before transmitting OAuth2 token requests.

    Nodemailer (lib/fetch/index.js) rejectUnauthorized = true

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 realistically exposed to token interception?

Deployments using Nodemailer before 8.0.8 that make OAuth2 token requests are exposed when an attacker can occupy a machine-in-the-middle position on the HTTPS connection. The attacker may capture OAuth client secrets, refresh tokens, and access tokens.

2

Does exploitation require an authenticated application user or user interaction?

No. The vector is network-based, with no privileges or user interaction required, but exploitation has high attack complexity because the attacker must be able to intercept the affected HTTPS traffic.

3

What is the immediate remediation?

Upgrade Nodemailer to version 8.0.8 or later, where the affected pre-8.0.8 behavior is no longer present.

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