---
id: CVE-2026-82662
title: >-
  Nodemailer before 8.0.8 disables TLS certificate verification in
  lib/fetch/index.js through rejectUnauthorized: false, allowing attackers to
  intercept OAuth2 token requests
summary: >-
  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…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N'
cwe:
  - CWE-295
vendor: nodemailer
product: nodemailer
affected:
  - nodemailer < 8.0.8
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-82662'
references:
  - url: >-
      https://github.com/nodemailer/nodemailer/security/advisories/GHSA-r7g4-qg5f-qqm2
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/nodemailer-before-8.0.8-tls-certificate-validation-bypass
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/nodemailer/nodemailer/security/advisories/GHSA-r7g4-qg5f-qqm2
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-82662.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-82662'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2526199'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-82662'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-82662'
tags:
  - nvd
  - cve.org
  - exploit-available
  - csaf
  - vex
  - red-hat
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-01T14:59:57.666500Z'
ingestedAt: '2026-09-14T02:44:22.715Z'
epss: 0.00192
epssPercentile: 0.07896
---

## Overview

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.

## 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-18 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-82662.json)
