CVE-2026-82662 Nodemailer before 8.0.8 TLS Certificate Validation Bypass
Attackers can intercept OAuth2 tokens and secrets via man-in-the-middle attacks due to disabled TLS certificate verification in Nodemailer.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-82662?
CVE-2026-82662 is a high-severity vulnerability in nodemailer, published on 31 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-295
Which versions are affected by CVE-2026-82662?
2 open source packages ship an affected version, including nodemailer.
| Package | Affected | Fixed in |
|---|---|---|
nodemailer npm | All versions | 8.0.8 |
nodemailer npm | All versions | 8.0.8 |
How do I fix CVE-2026-82662?
Upgrade nodemailer to 8.0.8 or later.
Is CVE-2026-82662 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-82662 exists.
Sources
Also known as DEBIAN-CVE-2026-82662, ECHO-93d3-0679-763e, GHSA-r7g4-qg5f-qqm2, MINI-2356-5mc3-vp43, MINI-6xvg-3xgj-h455, MINI-8f2h-276w-2wjg and 16 more.