Skip to content
OpenAdvisories
Medium · 5.8 CVE-2026-27808 EUVD-2026-8775GHSA-mpf7-p9x7-96r3GO-2026-4558

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

Published Feb 25, 2026 · Updated Feb 26, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
axllent mailpit < 1.29.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20260317T205859-150000.1.152.1 SUSE-SU-2026:1042-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/axllent/mailpit < 1.29.2 1.29.2 GHSA-mpf7-p9x7-96r3

Advisories 3

References