CVE-2026-45712
MEDIUM 5.9CVSS 3.1Mailpit: Concurrent map read & write in proxy CSS rewriter - remote unauth crash (fatal error: concurrent map read and map write)
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.
- Published
- 20 Jul 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-362CWE-770
- Also known as
- GHSA-w4vj-r5pg-3722GO-2026-5689
- Sources
- NVDJSONOSV GHSA-w4vj-r5pg-3722JSONOSV GO-2026-5689JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | axllent | mailpitcpe:2.3:a:axllent:mailpit:*:*:*:*:*:*:*:* |
< 1.30.0 | 1.30.0 |
| OSV | Go | github.com/axllent/mailpit | < 1.30.0 | 1.30.0 |
References
- https://github.com/axllent/mailpit/releases/tag/v1.30.0 · Release Notes, WEB
- https://github.com/axllent/mailpit/security/advisories/GHSA-w4vj-r5pg-3722 · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-45712 · ADVISORY
- https://github.com/axllent/mailpit · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 20 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 May 2026)