---
id: GHSA-frj6-5rhh-vwfw
title: >-
  Duplicate Advisory: Nodemailer: Improper TLS Certificate Validation in OAuth2
  Token Fetch Enables Credential Interception
summary: >-
  Duplicate Advisory: Nodemailer: Improper TLS Certificate Validation in OAuth2
  Token Fetch Enables Credential Interception
severity: high
cvss: 6.5
cwe:
  - CWE-295
vendor: nodemailer
product: nodemailer
ecosystem: npm
affected:
  - nodemailer <= 8.0.7
published: '2026-08-31'
updated: '2026-10-05'
sourceUpdated: '2026-10-05T22:51:42Z'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-frj6-5rhh-vwfw'
references:
  - url: >-
      https://github.com/nodemailer/nodemailer/security/advisories/GHSA-r7g4-qg5f-qqm2
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-82662'
  - url: >-
      https://www.vulncheck.com/advisories/nodemailer-before-8.0.8-tls-certificate-validation-bypass
  - url: 'https://github.com/advisories/GHSA-frj6-5rhh-vwfw'
tags:
  - ghsa
  - npm
ingestedAt: '2026-10-05T23:36:21.175Z'
---

## Overview

## Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-r7g4-qg5f-qqm2. This link is maintained to preserve external references.

## Original 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.

## Affected packages

- `nodemailer <= 8.0.7`

## Remediation

Refer to the advisory for the patched release.
