CVE-2026-45713 Details
Description
Mailpit is an email testing tool and API for developers. Prior to version 1.30.0, the Mailpit SMTP server has a Server.MaxSize int field that controls the maximum allowed DATA payload size, but the field is never assigned anywhere outside test code, leaving it at Go's zero value (0 ⇒ "no limit"). The same applies to the HTTP /api/v1/send endpoint, whose request body is decoded with json.NewDecoder(r.Body) and no http.MaxBytesReader. Because Mailpit's default listeners bind [::]:1025 (SMTP) and [::]:8025 (HTTP), with no authentication required on either, a single network-reachable attacker can push an arbitrarily large message into Mailpit and watch RAM consumption spike with a ~7-10× amplification factor (raw frame → enmime envelope tree → search-text index → zstd-encoded write to SQLite). Repeating the attack — or running it concurrently from multiple connections — drives the process to OOM-kill. Version 1.30.0 contains a patch.
A denial-of-service vulnerability has been identified in Mailpit, an email testing tool for developers. Prior to version 1.30.0, the SMTP server and the HTTP /api/v1/send endpoint allowed unlimited message sizes, leading to excessive memory and disk usage. This flaw arises because the maximum size limit for incoming data is not properly set, leaving it at the default value of zero, which indicates no restriction. As a result, an attacker can exploit this vulnerability by sending large messages, causing the Mailpit process to consume excessive RAM and eventually crash. The issue is exacerbated by the fact that Mailpit's default settings require no authentication and expose the SMTP and HTTP services to the network.
Users are advised to upgrade to Mailpit version 1.30.0 or later, where this vulnerability has been patched.
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 Jul 20, 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-fpxj-m5q8-fphw | CISA-ADP | ExploitVendor Advisory |
| https://github.com/axllent/mailpit/releases/tag/v1.30.0 | [email protected] | Release Notes |
| https://github.com/axllent/mailpit/security/advisories/GHSA-fpxj-m5q8-fphw | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| axllent mailpit | < 1.30.0 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 28, 2026 | Initial Analysis | [email protected] |
| Jul 20, 2026 | CVE Modified | CISA-ADP |
| Jul 20, 2026 | New CVE Received | [email protected] |