highCVE-2026-45713

CVE-2026-45713 mailpit vulnerability

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.

Browse API Security security risks
ProductMailpit
CVSS7.5
EPSSNot scored yet
UpdatedJuly 21, 2026

Quick answer

axllent Mailpit should be reviewed and updated if it matches the affected versions. The recommended fix is to apply the vendor-supported patched version or the mitigation steps below, then retest the public website with Fixnx.

Who is affected

Affected versions

  • < 1.30.0

Fixed versions

  • Apply the latest vendor-supported patched version.

How to fix it

CVE-2026-45713 affects Mailpit and involves denial of service. A remote or untrusted peer may consume excessive resources or crash the affected service. Prioritize internet-facing, privileged, automation, and production deployments. Upgrade Mailpit to 1.30.0 or a later vendor-supported fixed release.

  1. Inventory every deployment, device, package, plugin, container, build, and environment that uses Mailpit.
  2. Compare the installed version with the recorded affected range: < 1.30.0.
  3. Upgrade Mailpit to 1.30.0 or a later vendor-supported fixed release.
  4. Until patched, limit untrusted files and peers, apply resource limits, and isolate the affected parser or service.
  5. Review configuration, roles, tokens, network paths, and exposed endpoints connected to Mailpit; remove access that is not required.
  6. Review application, system, proxy, and audit logs for requests and behavior linked to the affected feature and CVE.
  7. If exploitation is suspected, isolate affected assets, preserve evidence, rotate exposed credentials or keys, restore trusted data, and rebuild compromised systems before returning them to service.

Scan now. Google sign-in is only needed to unlock fix guidance.

Verify the fix

  • Confirm every affected asset now runs the fixed vendor-supported release or has the documented mitigation for CVE-2026-45713 in place.
  • Use a safe regression test to confirm the affected denial of service path no longer produces the vulnerable behavior.
  • Confirm temporary access controls, endpoint restrictions, network blocks, and least-privilege settings remain effective after the update.
  • Review post-remediation logs and rerun Fixnx plus the relevant package, dependency, firmware, browser, or product-specific security check.
  • Document affected assets, versions, changes, validation evidence, reviewed logs, and any credential rotation, cleanup, or replacement completed.

Related categories

Related security risks

More published guidance from the same primary category.

Trusted references

FAQ

What is affected by CVE-2026-45713?

axllent Mailpit versions listed as affected should be reviewed: < 1.30.0.

What should I fix first?

Start with internet-facing sites, admin panels, login flows, plugins, themes, modules, packages, and systems that process user-controlled input or sensitive data.

How do I confirm the fix worked?

Apply the patched version or mitigation, clear caches where relevant, retest the affected workflow, and run a new Fixnx scan to verify public website exposure signals.

How are Fixnx security risk categories chosen?

Fixnx keeps one canonical risk page and assigns only broad, relevant categories such as ecosystem, technology area, or vulnerability class.