Nodemailer before 8.0.8 disables TLS certificate verification in lib/fetch/index.js through rejectUnauthorized: false, allowing attackers to… (CVE-2026-82662)
Description
Nodemailer versions before 8.0.8 disable TLS certificate verification in the lib/fetch/index.js component by setting rejectUnauthorized to false. This flaw allows attackers positioned as a man-in-the-middle to intercept OAuth2 token requests, potentially capturing OAuth client secrets, refresh tokens, and access tokens transmitted over HTTPS connections.
CVSS v3.1
Score 6.5medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability identified as CVE-2026-82662 affects Nodemailer versions prior to 8.0.8. It involves the disabling of TLS certificate verification in the lib/fetch/index.js file through the rejectUnauthorized flag being set to false. This misconfiguration enables attackers in a man-in-the-middle position to intercept OAuth2 token requests, thereby capturing sensitive OAuth credentials such as client secrets, refresh tokens, and access tokens that are sent over what should be secure HTTPS connections.
Potential Impact
Successful exploitation of this vulnerability allows an attacker with network interception capabilities to capture sensitive OAuth2 tokens and client secrets. This compromises the confidentiality of authentication credentials, potentially enabling unauthorized access to services relying on these tokens. The integrity and availability impacts are low, but the confidentiality impact is high due to exposure of sensitive authentication data.
Mitigation Recommendations
A fix is available in Nodemailer version 8.0.8 and later, which restores proper TLS certificate verification by not disabling rejectUnauthorized. Users should upgrade to version 8.0.8 or later to remediate this vulnerability. No other mitigation guidance is provided or necessary as the issue is resolved by this update.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-frj6-5rhh-vwfw
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-82662"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a95a0f3acd9273b4947e277
Added to database: 08/31/2026, 15:42:43 UTC
Last enriched: 09/07/2026, 23:52:50 UTC
Last updated: 10/15/2026, 18:48:24 UTC
Views: 37
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.