Skip to main content

Nodemailer EUVDEUVD-2026-81295

| CVE-2026-92595 MEDIUM
External Control of File Name or Path (CWE-73)
2026-09-16 disclosure@vulncheck.com GHSA-5635-p6jj-6g9p
6.0
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply untrusted message content to sandboxed app
  2. Delivery
    Content routed through legacy resolveContent(data,key,callback)
  3. Exploit
    Missing options normalized to {}, sandbox flags dropped
  4. Execution
    resolveContentValue reaches nmfetch(url) or fs.createReadStream(path)
  5. Impact
    Arbitrary local file read or SSRF to internal services

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
Exploitation Conditions

Two prerequisites must both hold: (1) the application deliberately enabled the disableFileAccess and/or disableUrlAccess sandbox options at the transporter/message level, expecting untrusted email content to be contained; and (2) plugin or application code resolves that untrusted content (html, text, or attachment path/href) through the public API MailMessage.resolveContent() using the legacy three-argument signature resolveContent(data, key, callback) - the form that omits the options object. Only this legacy passthrough path is vulnerable; the internal transporter.sendMail() paths (resolveAll(), _convertDataImages(), MIME streaming) are NOT affected because they thread the flags explicitly. Limiting factors: the flaw is inert unless the sandbox was enabled AND the specific legacy API is used on attacker-controlled content, which is why the vendor scored AC:H and AT:P. Authenticated context is implied by PR:L in the CVSS vector, though the actual gating is the application's own code path rather than a login boundary.

Impact

This is a moderate-severity, condition-gated sandbox bypass rather than a broadly exploitable flaw. The vendor (VulnCheck) CVSS 4.0 vector CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N (6.0) is internally consistent with the description: AC:H and AT:P correctly capture that exploitation is not a simple default-config remote hit - it requires a specific, non-default code path (a plugin or application calling the documented legacy three-argument MailMessage.resolveContent(data, key, callback) on untrusted content) AND that the application had deliberately enabled the disableFileAccess/disableUrlAccess sandbox in the first place. VC:H reflects arbitrary local file read; VI:L/VA:N reflect the limited SSRF write/no-availability impact. No EPSS score, no CISA KEV entry, and no public exploit code are provided in the intelligence, so all three exploitation signals point to no confirmed real-world exploitation. The only elevated signal is the ubiquity of the underlying library. Net: prioritize patching where Nodemailer is used with the sandbox flags AND custom plugin/resolver code, but this is not a drop-everything internet-wide emergency. Note the CWE and tags slightly undersell scope - CWE-73 (external control of filename/path) covers the file-read half but the Tags correctly add SSRF for the outbound-request half; the impact is genuinely dual.

Exploit ScenarioDerived

An application enables Nodemailer's disableFileAccess/disableUrlAccess sandbox to safely handle attacker-influenced email content, then uses a plugin (or its own code) that resolves that content via the legacy mail.resolveContent(data, key, callback) signature. An attacker supplies message content whose attachment path points to /etc/passwd or whose href points to an internal metadata endpoint; the sandbox flags are silently dropped and the library reads the local file or issues the outbound SSRF request. No public exploit code is identified at time of analysis, though the GHSA advisory documents the exact vulnerable call path.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 16, 2026

Arbitrary local file read and server-side request forgery are possible in the Nodemailer npm package through version 9.1.0 when an application that has deliberately enabled the disableFileAccess/disableUrlAccess sandbox resolves untrusted message content through the legacy three-argument API MailMessage.resolveContent(data, key, callback). Because the omitted options argument is normalized to an empty object inside shared.resolveContent(), the message-level sandbox flags copied into mail.data by the MailMessage constructor are discarded and resolveContentValue() skips both access-control guards, reaching fs.createReadStream() for local files or nmfetch() for outbound HTTP(S) requests driven by attacker-controlled html, text, or attachment path/href values. The flaw is strongly condition-gated: it is inert unless the sandbox was enabled AND the legacy signature is used on attacker-controlled content, which is reflected in the high attack complexity and present-attacker scoring; the internal transporter.sendMail() resolution paths are unaffected, no public exploit code has been identified at time of analysis, and the vendor shipped a fix in 9.1.1.

RemediationAI

Vendor-released patch: upgrade Nodemailer to 9.1.1, which contains the fixes in commits ab7ef348b9a97b1fd70e7bfbeb56d4ea4a07946b and dc48ed395c4d6c79ee5c95eb6eff17bafe391474; the upgrade is the primary and complete remediation and should be validated against the advisory at https://github.com/nodemailer/nodemailer/security/advisories/GHSA-8m3c-c648-2xjj. If immediate upgrade is not possible, the actionable compensating control is to stop calling the legacy three-argument form and instead invoke resolveContent with an explicit options object that re-states disableFileAccess and disableUrlAccess (or otherwise pre-sanitize/whitelist the html, text, attachment path, and href fields before resolution), since the bypass depends on the flags being dropped when the options argument is omitted - the trade-off is that any other plugin or dependency still calling the legacy signature remains exposed until patched. Note that applications which never enabled the sandbox flags, or which resolve content only through transporter.sendMail() and its internal paths, are unaffected and require no mitigation. No public exploit code has been identified at time of analysis, so this should be treated as a hardening priority rather than an emergency; the vulnerability also provides no denial-of-service primitive, so availability-focused workarounds are unnecessary.

Affected VersionsENISA

nodemailer 0 <9.1.1

Affected Packages

npm nodemailer fix: 9.1.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Nodemailer's disableFileAccess/disableUrlAccess flags form a security sandbox that lets an application forbid untrusted message content from reading local files (attachment path, html, text) or making outbound HTTP(S) requests (href), i.e. the classic CWE-73 pattern of externally controlled file names and paths. A prior advisory, GHSA-wqvq-jvpq-h66f (commit 5f69497), threaded those flags through the library's internal resolution paths (MailMessage.resolveAll() and _convertDataImages()), but the public plugin API MailMessage.resolveContent(...args) (lib/mailer/mail-message.js:41-43) was left as a raw passthrough to shared.resolveContent(). When the documented legacy signature resolveContent(data, key, callback) is used, shared.resolveContent collapses the missing options to an empty object ('options = options || {}', lib/shared/index.js:524-530), so the flags the MailMessage constructor had already stored on the message (lib/mailer/mail-message.js:34-38) are never consulted; resolveContentValue() then bypasses both guards and reaches nmfetch(url) (SSRF, lib/shared/index.js:588) or fs.createReadStream(path) (arbitrary file read, lib/shared/index.js:597). The vulnerability therefore lives in the interaction between an optional-argument normalization shortcut and a sandbox whose state is carried on the message object rather than on the options object, an inconsistency the internal callers avoid by explicitly re-threading the flags.

Know when Node.js gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 6.0 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

AC:H because exploitation needs the sandbox enabled and the specific legacy resolveContent signature on untrusted content; C:H for arbitrary file read, I:L for limited SSRF, A:N.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
SUSE 8.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Red Hat 5.9 MEDIUM

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Sep 16, 2026 - 23:19 EUVD
CVE Published
Sep 16, 2026 - 22:18 cve.org
MEDIUM 6.0

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 698 npm packages depend on nodemailer (506 direct, 195 indirect)

Ecosystem-wide dependent count for version 9.1.1.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
High
Nodemailer is the dominant email-sending library across Node.js applications
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 12 Not-Affected
SUSE Linux Enterprise Micro 5.3 Affected
SUSE Linux Enterprise Micro 5.4 Affected
SUSE Linux Enterprise Micro 5.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy