{"cve":"CVE-2026-45711","nvd":{"published":"2026-07-20T16:17:00.333","modified":"2026-10-24T20:10:00.137","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","score":8.2},"cwes":["CWE-22","CWE-829"],"references":["https://github.com/axllent/mailpit/releases/tag/v1.30.0","https://github.com/axllent/mailpit/security/advisories/GHSA-qx5x-85p8-vg4j","https://github.com/axllent/mailpit/security/advisories/GHSA-qx5x-85p8-vg4j"],"products":["axllent:mailpit"],"source":"nvd","synced_at":"2026-10-25T17:50:08.599881581+00:00"},"epss":{"cve":"CVE-2026-45711","score":0.00389,"percentile":0.32787,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-qx5x-85p8-vg4j","url":"https://osv.dev/vulnerability/GHSA-qx5x-85p8-vg4j","summary":"Mailpit: Path traversal & arbitrary file write in mailpit dump --http via attacker-controlled message IDs","modified":"2026-09-02T23:45:04.709541817Z","packages":[{"ecosystem":"Go","name":"github.com/axllent/mailpit","purl":"pkg:golang/github.com/axllent/mailpit","ranges":["<1.30.0"],"fixed":["1.30.0"]}]},{"id":"GO-2026-5599","url":"https://osv.dev/vulnerability/GO-2026-5599","summary":"Mailpit: Path traversal & arbitrary file write in mailpit dump --http via attacker-controlled message IDs in github.com/axllent/mailpit","modified":"2026-06-25T23:01:32.641003660Z","packages":[{"ecosystem":"Go","name":"github.com/axllent/mailpit","purl":"pkg:golang/github.com/axllent/mailpit","ranges":["<1.30.0"],"fixed":["1.30.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}