The Daily Byte
Breaking
Welcome to The Daily Byte — real stories from across Pakistan.
Sunday, 29 November 2026 · Pakistan

The Daily Byte

Stories from Pakistan that deserve to be heard

CVE-2026-137514: Nodemailer Flaw Lets Mail Reach Attackers

By The Daily Byte ·29 Nov 2026 ·3 min read
Rows of server racks in a data centre server room, the kind of infrastructure that runs application email services using Nodemailer

Nodemailer, the email-sending library used by a large share of Node.js applications, has a flaw that can let an attacker bypass an application's email allow-list and send invitations or shared links to a domain the attacker controls. The flaw, tracked as CVE-2026-137514, was listed in security feeds on 28 November 2026, and a fix is available in version 10.4.1.

The problem is in how Nodemailer normalises recipient addresses. Versions from 9.1.0 up to, but not including, 10.4.1 lowercase recipient domains using JavaScript's toLowerCase() in the _normalizeAddress function before applying UTS-46 mapping, the standard process for converting internationalised domain names. The two steps do not agree on two characters: U+1E9E, the Latin capital letter sharp S, and a word-final U+03A3, the Greek capital letter sigma. JavaScript's toLowerCase() converts them one way, while WHATWG and UTS-46 validators convert them another way.

That mismatch is what makes the bypass possible. An application that checks a recipient address against an allow-list can approve an address that Nodemailer then delivers to a different domain, one registered by the attacker. The practical result is that an unprivileged attacker can submit an address the application believes is allowed, and the invitation, password reset or shared link goes to the attacker's mailbox instead. The attacker needs no privileges and no interaction from the victim beyond the application sending the email it was asked to send.

The flaw is rated High, with a CVSS 4.0 base score of 8.3 assigned by VulnCheck, the assigning CNA, and a CVSS 3.1 score of 6.5. The weakness is classed as CWE-20, improper input validation. The advisory is published as GHSA-2g53-87p2-4qq8 in the Nodemailer repository, and the fix is in Nodemailer 10.4.1. No exploitation in the wild has been reported, and the estimated probability of exploitation in the next 30 days is below one percent, but the fix is a version upgrade, so there is little reason to delay it.

The flaw matters because of where Nodemailer sits. It is the standard way Node.js applications send mail, and allow-lists on recipient domains are a common control in invitation-only systems, corporate tools and collaboration apps that only want to email addresses inside an organisation. A bypass in the normalisation step undermines that control silently: the allow-list check passes, the log shows an approved address, and the email still goes to the wrong place.

Administrators and developers should upgrade Nodemailer to version 10.4.1 or later. Applications that cannot upgrade immediately should not rely on Nodemailer alone to enforce recipient restrictions. The allow-list check should be applied to the fully normalised domain, using the same UTS-46 processing that the mail system will apply, rather than trusting a case-folded string to mean the same thing in both places.

The wider lesson is an old one in email security: internationalised domain names are hard to compare correctly, and two pieces of code that both claim to normalise a domain can still disagree. When the disagreement sits between a security check and the code that acts on the result, the check stops being a check. Upgrading to 10.4.1 closes the gap in Nodemailer; any application with its own allow-list logic should review that logic for the same class of mismatch.

Source
NIST National Vulnerability Database — https://nvd.nist.gov/vuln/detail/cve-2026-137514