Race condition in axllent mailpit
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-770.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| axllent | mailpit | before 1.30.0 | 1.30.0 | Patch available | CNA |
| — | github.com/axllent/mailpit (Go) | before 1.30.0 | 1.30.0 | Patch available | GHSA-w4vj-r5pg-3722 |
- mailpit Vendoraxllent Affected before 1.30.0 Fixed in 1.30.0 Patch available CNA
- github.com/axllent/mailpit (Go) Vendor— Affected before 1.30.0 Fixed in 1.30.0 Patch available GHSA-w4vj-r5pg-3722
Remediation
- Fix · CNA mailpit (axllent) Fixed in 1.30.0
- Fix · GHSA-w4vj-r5pg-3722 github.com/axllent/mailpit (Go) Fixed in 1.30.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-45712
- 2026-10-03 Alias added: GHSA-w4vj-r5pg-3722
References
More axllent Mailpit vulnerabilities
- TI-2026-22161 Mailpit is Vulnerable to Server-Side Request Forgery (SSRF) via Link Check API CVSS 3.1HIGH 8.6
- TI-2026-33452 Mailpit: Unauthenticated remote memory-exhaustion DoS via unlimited SMTP DATA and /api/v1/send body sizes CVSS 3.1HIGH 7.5
- TI-2026-33450 Mailpit: Path traversal & arbitrary file write in mailpit dump --http via attacker-controlled message IDs CVSS 3.1HIGH 8.2
- TI-2026-17561 Mailpit Proxy Endpoint is Vulnerable to Server-Side Request Forgery (SSRF) CVSS 3.1MEDIUM 5.8
- TI-2026-19194 Mailpit has SMTP Header Injection via Regex Bypass CVSS 3.1MEDIUM 5.3
- TI-2026-19208 Mailpit Vulnerable to Server-Side Request Forgery (SSRF) via HTML Check API CVSS 3.1HIGH 7.5
Sources
- CVE-2026-45712 · CVE Program
- CVE-2026-45712 · NVD
- FIRST EPSS
- GHSA-w4vj-r5pg-3722 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences