Description
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.
Published: 2026-08-31
Score: 8.3 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in Nodemailer allows TLS certificate verification to be disabled, enabling an attacker in a man‑in‑the‑middle position to intercept OAuth2 traffic. By setting rejectUnauthorized to false, the library accepts any server certificate, allowing the capture of OAuth client secrets, refresh tokens and access tokens exchanged over HTTPS. This results in the theft of sensitive credentials that can be used to impersonate legitimate services and gain unauthorized access.

Affected Systems

Nodemailer versions prior to 8.0.8 are affected. Any project using the nodemailer library before this version is potentially vulnerable.

Risk and Exploitability

The CVSS score of 8.3 classifies this flaw as high severity. EPSS scores are currently unavailable, and the vulnerability is not listed in CISA KEV. The likely attack vector is a network‑level MITM, which can be carried out against any node using the vulnerable library to transmit OAuth traffic. Given the high score and the clear credential exposure, the risk is significant for applications that rely on OAuth for authentication.

Generated by OpenCVE AI on August 31, 2026 at 10:29 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade nodemailer to version 8.0.8 or newer, which restores proper TLS certificate verification.
  • If an immediate upgrade is not possible, configure the transport to use rejectUnauthorized: true and avoid connecting to untrusted servers.
  • Validate outbound TLS certificates manually or rely on a corporate TLS inspection policy to detect tampering.

Generated by OpenCVE AI on August 31, 2026 at 10:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 31 Aug 2026 09:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Nodemailer before 8.0.8 TLS Certificate Validation Bypass
First Time appeared Nodemailer
Nodemailer nodemailer
Weaknesses CWE-295
CPEs cpe:2.3:a:nodemailer:nodemailer:*:*:*:*:*:*:*:*
Vendors & Products Nodemailer
Nodemailer nodemailer
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N'}

cvssV4_0

{'score': 8.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Nodemailer Nodemailer
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-31T08:46:26.978Z

Reserved: 2026-08-30T13:38:29.952Z

Link: CVE-2026-82662

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-31T09:17:04.093

Modified: 2026-08-31T09:17:04.093

Link: CVE-2026-82662

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T10:30:17Z

Weaknesses
  • CWE-295

    Improper Certificate Validation