Resource exhaustion in Axllent Mailpit
CVE-2026-45713
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.006 (48.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 48th percentile — 48.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.006 · change: +0.002
Affected products
- Axllent Mailpit — versions < 1.30.0
Weakness classification (CWE)
References
- github.com/axllent/mailpit/security/advisories/GHSA-fpxj-m5q8-fphw (Exploit, Vendor Advisory)
- github.com/axllent/mailpit/releases/tag/v1.30.0 (Release Notes)
Frequently asked questions
- What is CVE-2026-45713?
- CVE-2026-45713 is a high-severity vulnerability in Axllent Mailpit, classified under Uncontrolled Resource Consumption. CVSS score: 7.5/10. Published 2026-07-20.
- How severe is CVE-2026-45713?
- High severity. CVSS v3 base score is 7.5 out of 10.