NODEMAILER · CVE-2026-125755 · Package
NO FIX YET · SEE WHAT TO DO
Nodemailer's addressparser cuts recipient domains at folding whitespace or comments before a dot, so a crafted to, cc, bcc or replyTo address passes domain checks. An attacker can then get mail delivered to an address of their choice under the application's sender identity.
first public Nov 10, 2026 · 1 source
Could this affect your app?
Free first check from your website. Connect your repo for the full answer.
Applications that use Nodemailer 3.0.0 up to but not including 10.4.1 to send mail from user-supplied recipient fields, and that depend on domain restrictions to limit who receives it. Apps that send only to fixed, server-chosen addresses are less exposed. unknown for anything beyond what the NVD description states.
Not affected if fixed-recipients, no-user-recipient-input
Who cares email, node.js, nodemailer
nodemailer package in your lockfile and check its version (for example npm ls nodemailer).nodemailer 10.4.1 (fixed version for the range before 10.4.1, per the NVD description)Nodemailer 3.0.0 before 10.4.1 contains an address parsing flaw in addressparser that truncates domains at folding whitespace or comments before a dot, allowing attackers to bypass recipient domain restrictions. Attackers can submit crafted to, cc, bcc or replyTo addresses that pass RFC 5322 domain checks but deliver mail to an attacker-chosen address under the application's sender identity.
Check it with your coding agent
It reads this page and tells you if your code is affected.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
This page as .md · .json · CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.