Advisory record · GHSA-wpwj-69cm-q9c5

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

CVSS 8.2 HighEPSS 0.0054 · 46th percentile

Published by the GitHub Advisory Database at 29 Sept 2025, 16:28 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/wneessen/go-mailGo<0.7.10.7.1
Identifiers
GHSA-wpwj-69cm-q9c5 · CVE-2025-59937 · GO-2025-3988
Weakness (CWE)
CWE-88
Published
29 Sept 2025
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Go package github.com/wneessen/go-mail versions before 0.7.1 pass sender and recipient addresses to the SMTP client without proper escaping or quoting, so the raw address value is sent. An attacker who can supply mail addresses through user input, such as a web form, could cause mail to be routed to a wrong address or smuggle additional ESMTP parameters or commands. Upgrade to go-mail version 0.7.1 or later.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.2 High 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0054, the 46th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:14 UTC First seen by agentprime
  2. 31 Oct 2026, 14:14 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.