Impact
Mailpit is an email testing tool and API for developers that validates hyperlinks by making outbound HTTP requests. The Link Check API uses a safeDialContext path to perform these requests. Prior to version 1.30.2 the fix for CVE-2026-27808 was incomplete, because the internal IP deny-list in tools.IsInternalIP relies on Go’s standard library helpers and fails to block IPv6 transition mechanisms or prefixes such as NAT64, 6to4, IPv4-compatible IPv6, ISATAP, fec0::/10 and 2001:db8::/32. An attacker who can deliver an email and then POST /api/v1/message/{ID}/link-check can coerce the API into dialing these internal destinations. Status-code and error feedback expose internal service reachability, including cloud metadata endpoints, allowing the attacker to perform network reconnaissance. This SSRF weakness (CWE-918) does not permit direct code execution. The vulnerability is fixed in Mailpit v1.30.2.
Affected Systems
The issue affects axllent:mailpit. Users running any installation older than version 1.30.2 are vulnerable.
Risk and Exploitability
The CVSS score of 5.8 indicates a moderate impact. The EPSS score is <1%, indicating a low likelihood of exploitation, and the vulnerability is not listed in KEV. Exploitation requires the POST /api/v1/message/{ID}/link-check. Attackers can map internal reachability but cannot directly execute code. The incomplete SSRF and the primary attack vector is through the Link Check API’s safeDialContext path addresses.
OpenCVE Enrichment
Github GHSA