CVE-2026-137514 in Nodemailerinfo

Summary

by MITRE • 11/26/2026

Nodemailer 9.1.0 before 10.4.1 lowercases recipient domains with JavaScript toLowerCase() in _normalizeAddress before UTS-46 mapping, which converts U+1E9E and word-final U+03A3 differently than WHATWG/UTS-46 validators. An unprivileged attacker can submit an address an application's allow-list approves, causing invites or shared links to reach an attacker-registered domain.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 11/26/2026

The vulnerability in Nodemailer versions prior to 10.4.1 stems from a critical flaw in the email normalization logic, specifically within the _normalizeAddress function. The core issue is a race condition-like ordering error where JavaScript's native String.prototype.toLowerCase() method is applied to recipient domains before the application of Unicode Text Processing Standard (UTS) #46 mapping rules. This sequence is fundamentally incorrect because UTS-46 defines specific case-folding and normalization procedures that must be respected to ensure consistent domain representation across different systems. By lowercasing first, the library fails to account for context-sensitive character transformations defined by internationalized domain name standards, leading to discrepancies between how Nodemailer processes an address and how external mail servers or validators interpret it.

The technical consequence of this ordering error is particularly evident with specific Unicode characters such as U+1E9E (Latin Capital Letter Sharp S) and the word-final form of U+03A3 (Greek Small Letter Sigma). In standard UTS-46 processing, these characters are mapped to their canonical lowercase equivalents in a way that preserves semantic identity. However, when JavaScript's lowercasing is applied prematurely, it may produce a byte sequence or character representation that differs from the expected normalized form recognized by WHATWG URL standards and other validators. This divergence creates an opportunity for domain confusion attacks where two visually similar but technically distinct domains are treated differently by different systems in the email delivery chain.

An unprivileged attacker can exploit this discrepancy to bypass application-level allow-lists designed to restrict outbound emails or shared links to approved internal or trusted domains. If a vulnerable application uses Nodemailer to send invitations, password resets, or sharing notifications, it may validate that the recipient domain matches an entry in its whitelist using standard UTS-46 validation logic. However, when Nodemailer processes the address internally using its flawed lowercasing routine, it might transform the input into a different canonical form that resolves to a completely different IP address or mail server controlled by the attacker. This allows malicious actors to redirect sensitive communications intended for legitimate users to their own infrastructure without triggering security alerts based on domain matching rules.

The operational impact of this vulnerability is severe as it undermines trust in automated communication channels often used for account recovery, multi-factor authentication setup, and collaborative sharing. Attackers can intercept one-time passwords, reset tokens, or confidential documents by convincing the application that a maliciously crafted address belongs to an allowed domain. This type of attack falls under CWE-20 Improper Input Validation because the system fails to correctly normalize input before comparison against security policies. Furthermore, it aligns with ATT&CK technique T1568.002 Domain Fronting or more accurately T1498 Network Denial of Service via resource exhaustion is not applicable here but rather T1537 Transfer Data to Cloud Account which involves exfiltrating data through compromised email channels, and specifically relates to CWE-640 Improper Observeration of a Weakness where the security control (allow-list) is bypassed due to implementation flaws in normalization.

To mitigate this vulnerability, organizations must upgrade Nodemailer to version 10.4.1 or later immediately, as these versions correct the order of operations by ensuring UTS-46 mapping occurs before any case transformation that could alter domain identity. Additionally, developers should implement defense-in-depth strategies by validating recipient domains against allow-lists using robust internationalized domain name libraries that strictly adhere to RFC 5891 and WHATWG URL standards rather than relying solely on JavaScript's native string methods for security-critical comparisons. It is also advisable to monitor outbound email logs for anomalies in domain resolution patterns, particularly involving Unicode characters known to have context-sensitive casing rules, to detect potential exploitation attempts even after patching.

Responsible

VulnCheck

Reservation

11/26/2026

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

EPSS

0.00366

KEV

no

Activities

very low

Sources

Interested in the pricing of exploits?

See the underground prices here!