CVE-2025-13033

7.5

Nodemailer · Nodemailer

A vulnerability in the Nodemailer email parsing library allows attackers to misdirect emails to unauthorized external addresses via crafted recipient strings, leading to potential sensitive data leaks.

Executive summary

A critical flaw in the Nodemailer library allows unauthenticated attackers to intercept sensitive communications by manipulating recipient email address formatting.

Vulnerability

This vulnerability, identified as CWE-1286, involves improper validation of syntactic correctness in input. An unauthenticated attacker can craft a recipient address containing an external address embedded within quotes, causing the application to redirect emails to an attacker-controlled destination.

Business impact

The ability to misdirect email traffic poses a severe risk of sensitive data exposure and unauthorized information disclosure. With a CVSS score of 7.5, this high-severity vulnerability could allow attackers to bypass established security filters and access controls, potentially compromising confidential business communications and proprietary data.

Remediation

Immediate Action: Update the Nodemailer package to version 7.0.7 or later to implement the necessary input validation fix.

Proactive Monitoring: Review mail server logs and application logs for unusual recipient address patterns or spikes in outbound email volume directed toward external domains.

Compensating Controls: Implement strict email content filtering and egress traffic monitoring to detect and block unauthorized redirections to external, non-whitelisted domains.

Exploitation status

Public Exploit Available: No

Analyst recommendation

Given the potential for significant data leakage and the ease of exploitation, organizations utilizing the Nodemailer library must prioritize updating to version 7.0.7 immediately. Failure to patch this vulnerability leaves internal communications susceptible to interception and redirection by external actors.

Sources