Exposure of Data Element to Wrong Session in nodemailer - #VU172472
Published: December 2, 2026
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.