Intel

AIKIDO-2026-10941

nodemailer is vulnerable to Missing Authorization

Missing AuthorizationGHSA-wqvq-jvpq-h66f Published Yesterday

54

Medium Risk

This Affects:

JSnodemailer
0.0.0 - 8.0.8
Fixed in 8.0.9
Are you affected? Scan for Free

TL;DR

Nodemailer’s disableFileAccess and disableUrlAccess protections can be bypassed when using jsonTransport. Although the normal MIME streaming path enforces these options, jsonTransport calls mail.normalize(), which resolves message fields through shared.resolveContent() without checking those restrictions. As a result, attacker-controlled fields such as attachment paths or text.href may still trigger local file reads or outbound HTTP requests, exposing file contents in JSON output or causing unintended network access.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

nodemailer is vulnerable to Missing Authorization in versions 0.0.0 - 8.0.8.

How to fix this

Upgrade the nodemailer library to the patch version.