What’s Vulnerable › Vulnerabilities

CVE-2026-82659: nodemailer before 9.0.1 File Read and SSRF via raw option

Description

nodemailer before 9.0.1 fails to apply disableFileAccess and disableUrlAccess flags to message-level raw option, allowing authenticated attackers to read arbitrary files or perform server-side request forgery by supplying path or href properties. Attackers can exploit this by crafting raw messages with file paths or URLs that bypass the intended sandbox, with fetched content delivered in the outgoing message to attacker-controlled recipients.

Affected products

How to fix

Upgrade to a fixed version: nodemailer 9.0.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-82659 or the next vulnerability affects your stack