{"id":"UBUNTU-CVE-2026-125755","details":"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.","modified":"2026-11-18T11:14:53Z","published":"2026-11-10T16:17:00Z","upstream":["CVE-2026-125755"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-125755"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-125755"},{"type":"REPORT","url":"https://github.com/nodemailer/nodemailer/blob/3b5cf1eec32c81f287870c8a1c9c09640062cfd5/src/addressparser/index.ts#L330-L345"},{"type":"REPORT","url":"https://github.com/nodemailer/nodemailer/commit/c2b9c41bb81b2294ebadd294ad15ff035a17d0a5"},{"type":"REPORT","url":"https://github.com/nodemailer/nodemailer/releases/tag/v10.4.1"},{"type":"REPORT","url":"https://github.com/nodemailer/nodemailer/security/advisories/GHSA-3q53-mvfw-q9v8"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/nodemailer-3.0.0-before-10.4.1-recipient-allow-list-bypass-via-addressparser"}],"affected":[{"package":{"name":"node-nodemailer","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-nodemailer?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.3.0-2","6.3.1-1","6.4.0-1","6.4.1-1","6.4.2-1","6.4.5-1"],"ecosystem_specific":{"binaries":[{"binary_version":"6.4.5-1","binary_name":"node-nodemailer"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-125755.json"}},{"package":{"name":"node-nodemailer","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-nodemailer?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.4.17-3","6.7.0-1","6.7.0-2","6.7.1+~6.4.4-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-nodemailer","binary_version":"6.7.1+~6.4.4-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-125755.json"}},{"package":{"name":"node-nodemailer","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-nodemailer?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.9.4+~6.4.9-2","6.9.4+~6.4.9-3ubuntu1","6.9.4+~6.4.9-4"],"ecosystem_specific":{"binaries":[{"binary_name":"node-nodemailer","binary_version":"6.9.4+~6.4.9-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-125755.json"}},{"package":{"name":"node-nodemailer","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/node-nodemailer?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.0.4+~7.0.11-1","8.0.4+~7.0.11-2","9.0.0+~8.0.1-1","9.0.3+~8.0.1-1","9.0.5+~8.0.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-nodemailer","binary_version":"9.0.5+~8.0.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-125755.json"}},{"package":{"name":"node-nodemailer","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/node-nodemailer?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.0.5+~7.0.1-1","7.0.9+~7.0.2-2","7.0.10+~7.0.2-1","7.0.12+~7.0.5-1","8.0.4+~7.0.11-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-nodemailer","binary_version":"8.0.4+~7.0.11-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-125755.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}