9.1

CVE-2025-59937: pebcak go-mail Argument Injection

CVSS: 9.1v3.1CriticalAnalyzed
AliasesCGA-3p3h-h7fw-29v7CGA-74m6-x9pv-hqmjCGA-g69g-r5xj-mqf5
Published 29-09-2025Last modified 30-09-2025

Vulnerability summary

CVE-2025-59937 is a critical (CVSS 9.1) Argument Injection vulnerability in pebcak go-mail. EPSS estimates a 0.54% chance of exploitation in the next 30 days, higher than 44.6% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.1/10
010
Critical · v3.1 (NVD)
EPSS score
0.54%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 2 · Related 5

Timeline

  1. 29-09-2025
    PublishedVulnerability first disclosed.
  2. 30-09-2025
    Last modifiedVulnerability information updated.

Description

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

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

0.54%

Chance of exploitation in the next 30 days

Percentile

45%

Versus all other CVEs

30-day change

0.00 pp

From 0.54% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.54%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Go Mail

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Chainguard5 products
  • gitea< 1.24.6-r1
  • gitea-compat< 1.24.6-r1
  • gitea-fips< 1.24.6-r1
  • gitea-fips-compat< 1.24.6-r1
  • sftpgo< 2.6.6-r9
Wolfi3 products
  • gitea< 1.24.6-r1
  • gitea-compat< 1.24.6-r1
  • sftpgo< 2.6.6-r9
Github.com/wneessen1 product
  • go-mail< 0.7.1
Pebcak1 product
Wneessen1 product

5 vendors · 11 products

References

8 links