CVE-2026-45711
Description
Mailpit is an email testing tool and API for developers. Prior to version 1.30.0, the mailpit dump --http <base-url> <out-dir> sub-command downloads every message from a remote Mailpit instance and writes each one as <id>.eml inside the user-supplied output directory. The message ID field is taken verbatim from the JSON response of the remote server and concatenated into the output path with path.Join, which silently normalizes `..` segments. A malicious HTTP server impersonating Mailpit can therefore make mailpit dump write attacker-controlled bytes to any path the running user can write, fully outside the intended output directory. Version 1.30.0 contains a patch.
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory
- CWE-829: Inclusion of Functionality from Untrusted Control Sphere
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-07-21 |
Timeline
- 2026-05-19GitHub advisory published (GHSA-qx5x-85p8-vg4j)62 days before publication
- 2026-07-20Published by the CNA14:39 UTC
- 2026-07-21CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-qx5x-85p8-vg4j, 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-qx5x-85p8-vg4j
- 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-45711'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-45711'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-45711'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-45711'
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).