CVE-2026-21859 Details
Description
Mailpit is an email testing tool and API for developers. Versions 1.28.0 and below have a Server-Side Request Forgery (SSRF) vulnerability in the /proxy endpoint, allowing attackers to make requests to internal network resources. The /proxy endpoint validates http:// and https:// schemes, but it does not block internal IP addresses, enabling attackers to access internal services and APIs. This vulnerability is limited to HTTP GET requests with minimal headers. The issue is fixed in version 1.28.1.
A Server-Side Request Forgery (SSRF) vulnerability has been identified in Mailpit, an email testing tool for developers. This vulnerability affects versions of Mailpit through 1.28.0 and resides in the '/proxy' endpoint. The issue allows attackers to send requests to internal network resources. While the endpoint validates 'http://' and 'https://' schemes, it fails to block internal IP addresses, enabling access to internal services and APIs. The vulnerability is limited to HTTP GET requests with minimal headers.
Users can update to Mailpit version 1.28.1, which addresses this vulnerability by restricting the proxy to only support asset links contained in messages. Unsupported content types now result in a generic HTTP error.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/axllent/mailpit/security/advisories/GHSA-8v65-47jx-7mfr | CISA-ADP | ExploitVendor Advisory |
| https://github.com/axllent/mailpit/commit/3b9b470c093b3d20b7d751722c1c24f3eed2e19d | [email protected] | Patch |
| https://github.com/axllent/mailpit/security/advisories/GHSA-8v65-47jx-7mfr | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| axllent mailpit | < 1.28.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 2, 2026 | Initial Analysis | [email protected] |
| Jan 8, 2026 | CVE Modified | CISA-ADP |
| Jan 8, 2026 | New CVE Received | [email protected] |