CVE-2026-45712
Description
Mailpit is an email testing tool and API for developers. Prior to version 1.30.0, the screenshot/print proxy (/proxy?data=…) maintains a package-level assets map[string]MessageAssets cache, but reads the map without holding assetsMutex while a long-running cleanup goroutine and (re-entrant) CSS-rewriting code path concurrently write to it under the lock. When the unsynchronized read coincides with a synchronized write, Go's runtime raises fatal error: concurrent map read and map write — a runtime.throw that is not recoverable by http.Server's handler-panic recover. The whole Mailpit process exits, taking the SMTP, POP3 and HTTP listeners down with it. Version 1.30.0 contains a patch.
Weakness
- CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization
- CWE-770: Allocation of Resources Without Limits or Throttling
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-07-20 |
Timeline
- 2026-05-19GitHub advisory published (GHSA-w4vj-r5pg-3722)62 days before publication
- 2026-07-20Published by the CNA14:59 UTC
- 2026-07-20CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-w4vj-r5pg-3722, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/axllent/mailpit | before 1.30.0 | 1.30.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| axllent mailpit | before 1.30.0fixed in 1.30.0 | 1.30.0 |
References
- https://github.com/axllent/mailpit/security/advisories/GHSA-w4vj-r5pg-3722
- https://github.com/axllent/mailpit/releases/tag/v1.30.0
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-45712'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-45712'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-45712'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-45712'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).