Skip to main content
← All vulnerabilities
CVE-2026-27808GO-2026-4558GHSA-MPF7-P9X7-96R3

Mailpit is Vulnerable to Server-Side Request Forgery (SSRF) via Link Check API

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.29.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

Mailpit is an email testing tool and API for developers. Prior to version 1.29.2, the Link Check API (/api/v1/message/{ID}/link-check) is vulnerable to Server-Side Request Forgery (SSRF). The server performs HTTP HEAD requests to every URL found in an email without validating target hosts or filtering private/internal IP addresses. The response returns status codes and status text per link, making this a non-blind SSRF. In the default configuration (no authentication on SMTP or API), this is fully exploitable remotely with zero user interaction. This is the same class of vulnerability that was fixed in the HTML Check API (CVE-2026-23845 / GHSA-6jxm-fv7w-rw5j) and the screenshot proxy (CVE-2026-21859 / GHSA-8v65-47jx-7mfr), but the Link Check code path was not included in either fix. Version 1.29.2 fixes this vulnerability.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • axllent mailpit

    fixed in 1.29.2

  • github.com/axllent/mailpitGo

    fixed in 1.29.2

References 3

GitHub · axllent/mailpit