Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/axllent/mailpit
  4. ›
  5. CVE-2026-27808

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

February 26, 2026

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.

References

  • github.com/advisories/GHSA-mpf7-p9x7-96r3
  • github.com/axllent/mailpit
  • github.com/axllent/mailpit/commit/10ad4df8cc0cd9e51dea1b4410009545eef7fbf5
  • github.com/axllent/mailpit/releases/tag/v1.29.2
  • github.com/axllent/mailpit/security/advisories/GHSA-mpf7-p9x7-96r3
  • nvd.nist.gov/vuln/detail/CVE-2026-27808

Code Behaviors & Features

Detect and mitigate CVE-2026-27808 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.29.2

Fixed versions

  • 1.29.2

Solution

Upgrade to version 1.29.2 or above.

Impact 5.8 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

go/github.com/axllent/mailpit/CVE-2026-27808.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:19:14 +0000.