# CVE-2025-13033: Nodemailer improper email parsing in addressparser

Source: https://junglewise.ai/threats/cve-2025-13033-nodemailer-improper-email-parsing-in-addressparser  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-11-14. Updated: 2026-05-11  
License: CC BY 4.0 with a link back

CVE-2025-13033 · Severity: high · CVSS 7.5 · Published 2025-11-14

A vulnerability was found in Nodemailer, a popular library used by Node.js applications to send emails. Due to a flaw in how the library handles specially formatted email addresses, an attacker can trick the system into sending emails to an external address instead of the intended internal recipient. This could result in the leakage of sensitive information and allow attackers to bypass security filters or access controls.

Technologies: [Nodemailer](https://junglewise.ai/threats/technologies/nodemailer), [nodemailer (npm)](https://junglewise.ai/threats/technologies/npm-nodemailer). Vendors: [Nodemailer](https://junglewise.ai/threats/vendors/nodemailer), [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2025-13033 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-13033 being exploited in the wild.

**How severe is CVE-2025-13033?** High severity, with a CVSS score of 7.5, published 14 November 2025.

**Which products and versions are affected?** Nodemailer Fixed in commit 1150d99fba77280df2cfb1885c43df23109a8626; nodemailer (npm) SEMVER:introduced=0,fixed=7.0.7.

**Is there a fix for CVE-2025-13033?** Yes. nodemailer (npm): upgrade to 7.0.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2025-13033 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2025-13033?** Check whether you run Nodemailer or nodemailer (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- nodemailer (npm): upgrade to 7.0.7 or later

  ```sh
  npm install nodemailer@7.0.7
  ```


## Technical details

An interpretation conflict exists in Nodemailer's address parser due to improper handling of quoted local-parts containing the '@' symbol. When a recipient address is crafted with an external address embedded within quotes (e.g., "\"user@external.com\"@internal.domain"), the parser may misroute the email to the external domain instead of the RFC-compliant internal domain. This vulnerability allows for data exfiltration, bypass of domain-based access controls, and evasion of anti-spam filters. The issue was addressed in the Nodemailer repository by fixing how the addressparser handles quoted nested email strings.

## Affected products

- Nodemailer Nodemailer Fixed in commit 1150d99fba77280df2cfb1885c43df23109a8626

## Identifiers

- CVE-2025-13033
- GHSA-mm7p-fcc7-pg87

## Timeline

- 2025-10-07: other: Bug reported to Red Hat Bugzilla
- 2025-11-14: disclosed: CVE published to NVD
- 2026-03-04: patched: Red Hat Developer Hub update released
- 2026-05-11: patched: Red Hat Ceph Storage update released

## References

- [https://access.redhat.com/errata/RHSA-2026:15979](https://access.redhat.com/errata/RHSA-2026:15979)
- [https://access.redhat.com/errata/RHSA-2026:3751](https://access.redhat.com/errata/RHSA-2026:3751)
- [https://access.redhat.com/security/cve/CVE-2025-13033](https://access.redhat.com/security/cve/CVE-2025-13033)
- [https://bugzilla.redhat.com/show_bug.cgi?id=2402179](https://bugzilla.redhat.com/show_bug.cgi?id=2402179)
- [https://github.com/nodemailer/nodemailer](https://github.com/nodemailer/nodemailer)
- [https://github.com/nodemailer/nodemailer/commit/1150d99fba77280df2cfb1885c43df23109a8626](https://github.com/nodemailer/nodemailer/commit/1150d99fba77280df2cfb1885c43df23109a8626)
- [https://github.com/nodemailer/nodemailer/security/advisories/GHSA-mm7p-fcc7-pg87](https://github.com/nodemailer/nodemailer/security/advisories/GHSA-mm7p-fcc7-pg87)

## Related threats

- [Nodemailer address parsing bypass in addressparser](https://junglewise.ai/threats/cve-2026-125755-nodemailer-3-0-0-before-10-4-1-contains-an-address-parsing-flaw)
- [Nodemailer address parsing bypass in nested RFC 5322 comments](https://junglewise.ai/threats/cve-2026-121424-nodemailer-from-3-0-0-before-10-1-4-contains-an-address-parsing)
- [Nodemailer addressparser RFC 5322 comment parsing bypass](https://junglewise.ai/threats/nodemailer-a-nested-comment-ends-early-in-addressparser-releasing-the-4e80613c)
- [Nodemailer addressparser group terminator bypass in quoted strings](https://junglewise.ai/threats/nodemailer-a-inside-a-quoted-string-or-comment-ends-an-address-group-b8b045f9)
- [Nodemailer addressparser angle-addr parsing bypass](https://junglewise.ai/threats/nodemailer-a-inside-a-quoted-local-part-ends-an-angle-addr-early-in-28663cfb)
