Server-side Request Forgery (SSRF) Affecting github.com/axllent/mailpit/config package, versions <1.29.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.47% (38th 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-GITHUBCOMAXLLENTMAILPITCONFIG-15367347
  • published2 Mar 2026
  • disclosed26 Feb 2026
  • creditRitvik Arya

Introduced: 26 Feb 2026

CVE-2026-27808  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade github.com/axllent/mailpit/config to version 1.29.2 or higher.

Overview

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the doHead function in the Link Check API, which performs HTTP HEAD requests to URLs extracted from email content without validating target hosts or filtering private/internal IP addresses. An attacker can enumerate internal hosts, scan ports, access cloud metadata endpoints, and fingerprint internal services by sending crafted emails containing malicious links and querying the API to receive direct feedback on the status of internal resources.

Note: This is only exploitable if the deployment allows unauthenticated access to both SMTP and API endpoints.

CVSS Base Scores

version 4.0
version 3.1