CVE-2026-45711 json
Mailpit: Path traversal & arbitrary file write in mailpit dump --http via attacker-controlled message IDs
published 2026-05-19 5 mo ago modified 2026-10-24 15 d ago also EUVD-2026-45967 , GHSA-qx5x-85p8-vg4j , GO-2026-5599
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 33%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/axllent/mailpit 1.30.0
- axllent mailpit 1.30.0
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/axllent/mailpit/security/advisories/GHSA-qx5x-85p8-vg4j referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L |
| NVD | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/axllent/mailpit | <1.30.0 |
1.30.0 |
Affected products
- axllent mailpit
Classification
References
-
github.com
/axllent/mailpit/security/advisories/GHSA-qx5x-85p8-vg4j
exploit, web, vendor-advisory, advisory
-
github.com
/axllent/mailpit/releases/tag/v1.30.0
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-45711
advisory
-
github.com
/axllent/mailpit
package
Sources
- CVE List CVE-2026-45711
- GitHub Advisory GHSA-qx5x-85p8-vg4j
- NVD CVE-2026-45711
- OSV GO-2026-5599
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.