Mailpit is Vulnerable to Server-Side Request Forgery (SSRF) via Link Check API
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/axllent/mailpitGo | < 1.29.2 | 1.29.2 |
Affected products
3- ghsa-coords2 versionspkg:golang/github.com/axllent/mailpitpkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6
< 1.29.2+ 1 more
- (no CPE)range: < 1.29.2
- (no CPE)range: < 0.0.20260317T205859-150000.1.152.1
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-mpf7-p9x7-96r3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-27808ghsaADVISORY
- github.com/axllent/mailpit/commit/10ad4df8cc0cd9e51dea1b4410009545eef7fbf5ghsax_refsource_MISCWEB
- github.com/axllent/mailpit/releases/tag/v1.29.2ghsax_refsource_MISCWEB
- github.com/axllent/mailpit/security/advisories/GHSA-mpf7-p9x7-96r3ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.