What’s Vulnerable › Vulnerabilities
CVE-2026-92595: Nodemailer before 9.1.1 Security Sandbox Bypass via resolveContent
- Severity: medium (CVSS 5.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-16 · updated 2026-09-22
- Weakness: CWE-73
Description
Nodemailer (npm package `nodemailer`) versions 9.1.0 and earlier do not honor the `disableFileAccess` and `disableUrlAccess` sandbox options when message content is resolved through the public plugin API `MailMessage.resolveContent()` using the documented legacy three-argument signature `resolveContent(data, key, callback)`. Because `shared.resolveContent()` normalizes the missing `options` argument to an empty object, the message-level flags copied into `mail.data` by the MailMessage constructor are discarded, and `resolveContentValue()` skips both access-control checks, reaching `nmfetch(url)` or `fs.createReadStream(path)`. As a result, plugin or application code that resolves untrusted message content (html, text, attachment `path` or `href`) via this API can be induced to read arbitrary local files or issue outbound HTTP(S) requests (server-side request forgery), bypassing the sandbox the application enabled. The internal paths used by `transporter.sendMail()` (`resolveAll()`, `_convertDataImages()`, and the MIME streaming path) are not affected. Fixed in version 9.1.1.
Affected products
- nodemailer: before 9.1.1 — fixed in 9.1.1
How to fix
Upgrade to a fixed version: nodemailer 9.1.1. Check the vendor advisory for mitigations.
References
- https://github.com/nodemailer/nodemailer/security/advisories/GHSA-8m3c-c648-2xjj
- https://www.vulncheck.com/advisories/nodemailer-before-9.1.1-security-sandbox-bypass-via-resolvecontent
- https://github.com/nodemailer/nodemailer/security/advisories/GHSA-8m3c-c648-2xjj
Get alerted when CVE-2026-92595 or the next vulnerability affects your stack