Arbitrary Argument Injection Affecting github.com/wneessen/go-mail/smtp package, versions <0.7.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.05% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMWNEESSENGOMAILSMTP-13147779
  • published30 Sept 2025
  • disclosed29 Sept 2025
  • creditxclow3n

Introduced: 29 Sep 2025

NewCVE-2025-59937  (opens in a new tab)
CWE-88  (opens in a new tab)

How to fix?

Upgrade github.com/wneessen/go-mail/smtp to version 0.7.1 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Argument Injection via improper handling of the mail.Address value. An attacker can manipulate email routing or inject unauthorized SMTP parameters by supplying specially crafted email addresses.

Note: This is only exploitable if email addresses are accepted as user input, such as through a web form, rather than using static addresses without quoted local parts.

CVSS Base Scores

version 4.0
version 3.1