Read the docs
TI-2025-37325 Aliases CVE-2025-59937GHSA-wpwj-69cm-q9c5

go-mail has insufficient address encoding when passing mail addresses to the SMTP client

Priority HIGH 69CWE-88Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Code execution
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-88.

Summary

go-mail is a comprehensive library for sending mails with Go. In versions 0.7.0 and below, due to incorrect handling of the mail.Address values when a sender- or recipient address is passed to the corresponding MAIL FROM or RCPT TO commands of the SMTP client, there is a possibility of wrong address routing or even ESMTP parameter smuggling. For successful exploitation, it is required that the user's code allows for arbitrary mail address input (i. e. through a web form or similar). If only static mail addresses are used (i. e. in a config file) and the mail addresses in use do not consist of quoted local parts, this should not affect users. This issue is fixed in version 0.7.1

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00542 45th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed go-mail (wneessen): 0.7.1github.com/wneessen/go-mail (Go): 0.7.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
wneessengo-mailbefore 0.7.10.7.1Patch availableCNA
—github.com/wneessen/go-mail (Go)before 0.7.10.7.1Patch availableGHSA-wpwj-69cm-q9c5
  • go-mail Vendorwneessen Affected before 0.7.1 Fixed in 0.7.1 Patch available CNA
  • github.com/wneessen/go-mail (Go) Vendor— Affected before 0.7.1 Fixed in 0.7.1 Patch available GHSA-wpwj-69cm-q9c5

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:pebcak:go-mail:*:*:*:*:*:go:*:*before 0.7.1VulnerablePebcak
  • cpe:2.3:a:pebcak:go-mail:*:*:*:*:*:go:*:* Versions before 0.7.1 Vulnerable ·Pebcak

Remediation

  • Fix · CNA go-mail (wneessen) Fixed in 0.7.1
  • Fix · GHSA-wpwj-69cm-q9c5 github.com/wneessen/go-mail (Go) Fixed in 0.7.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-59937
  2. 2026-10-03 Alias added: GHSA-wpwj-69cm-q9c5

References

Sources