# CVE-2026-45712: Mailpit: Concurrent map read & write in proxy CSS rewriter - remote unauth crash (fatal error: concurrent map read and map write)

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-20 · Modified: 2026-07-20
- Aliases: GHSA-w4vj-r5pg-3722, GO-2026-5689
- Record: https://cvemate.com/vulnerability/CVE-2026-45712 · JSON: https://cvemate.com/vulnerability/CVE-2026-45712/json

## Description

```text
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.
```

## Signals

- CVSS: 5.9 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.247%, percentile 17.081%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- axllent mailpit: \< 1.30.0
- github.com/axllent mailpit (Go): \< 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>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45712>
- <https://github.com/axllent/mailpit>

---

Data as of 2026-12-05T18:29:38.499Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
