CVE-2025-13033Nodemailer: nodemailer: email to an unintended domain can occur due to interpretation…
A vulnerability was identified in the email parsing library due to improper handling of specially formatted recipient email addresses. An attacker can exploit this flaw by crafting a recipient address that embeds an external address within quotes. This causes the application to misdirect the email to the attacker's external address instead of the intended internal recipient. This could lead to a significant data leak of sensitive information and allow an attacker to bypass security filters and access controls.
What to do
Fixed builds are available from Debian, npm: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | node-nodemailer | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | node-nodemailer | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-13033 | |
| Ubuntu 24.04 | node-nodemailer | Under investigation | UBUNTU-CVE-2025-13033 | |
| Ubuntu 22.04 | node-nodemailer | Under investigation | UBUNTU-CVE-2025-13033 | |
| Ubuntu 20.04 | node-nodemailer | Fix pending | UBUNTU-CVE-2025-13033 | |
| Debian 14 | node-nodemailer | Fixed | 7.0.9+~7.0.2-1 | DEBIAN-CVE-2025-13033 |
| Debian 13 | node-nodemailer | Fixed | 6.10.0+~6.4.17-1+deb13u1 | DEBIAN-CVE-2025-13033 |
| Debian 12 | node-nodemailer | Fix pending | DEBIAN-CVE-2025-13033 | |
| npm library | nodemailer | Fixed | 7.0.7 | GHSA-mm7p-fcc7-pg87 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- nodemailer: affected: before 7.0.7; fixed in
7.0.7 - Red Hat Ceph Storage 8.1
- Red Hat Developer Hub 1.9
- Red Hat Advanced Cluster Management for Kubernetes 2
Workaround: Currently there's no available mitigation for this flaw.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2026:15979 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:3751 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:15979
- https://access.redhat.com/errata/RHSA-2026:3751
- https://access.redhat.com/security/cve/CVE-2025-13033
- https://bugzilla.redhat.com/show_bug.cgi?id=2402179
- https://github.com/nodemailer/nodemailer
- https://github.com/nodemailer/nodemailer/commit/1150d99fba77280df2cfb1885c43df23109a8626
- https://github.com/nodemailer/nodemailer/security/advisories/GHSA-mm7p-fcc7-pg87
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.