Improper Certificate Validation in nodemailer - #VU132359
Published: May 27, 2026
nodemailer
Detailed vulnerability description
The vulnerability allows a remote attacker to disclose sensitive OAuth credentials.
The vulnerability exists due to improper certificate validation in the internal HTTPS fetch client in lib/fetch/index.js when retrieving OAuth2 tokens over HTTPS. A remote attacker can perform a machine-in-the-middle attack using an invalid or self-signed certificate to disclose sensitive OAuth credentials.
The issue affects OAuth2 token requests and related outbound HTTPS requests that use the internal fetch implementation.