Exposure of Data Element to Wrong Session in nodemailer - #VU172472

 

Exposure of Data Element to Wrong Session in nodemailer - #VU172472

Published: December 2, 2026


Vulnerability identifier: #VU172472
CSH Severity: Medium
CVSS v4: 8.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-488
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to obtain inline images from other users’ emails, insert content into later messages, disrupt mail delivery, or disclose local files on Windows.

The vulnerability exists due to mutation of shared attachment arrays and a fallback that treats undecodable data URLs as file paths in Nodemailer’s attachDataUrls feature when processing inline images. A remote attacker can request mail at an address they control to receive leaked attachments or submit HTML for email delivery to contaminate shared attachments or expose files readable by the mail process on Windows.


Affected software

nodemailer

Remediation

Install security update from vendor's website.

nodemailer - update to 10.6.3

External References

Related Security Bulletins