{"id":"CVE-2026-45711","aliases":["GHSA-qx5x-85p8-vg4j","GO-2026-5599"],"url":"https://o3.security/vulnerability/CVE-2026-45711","summary":"Mailpit: Path traversal & arbitrary file write in mailpit dump --http via attacker-controlled message IDs","details":"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.","published":"2026-07-20T14:39:06.690Z","modified":"2026-08-12T03:51:31.144340437Z","cvss":{"score":5.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L"},"epss":{"score":0.00311,"percentile":0.23894,"asOf":"2026-08-16"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/axllent/mailpit","fixedVersion":"1.30.0"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/axllent/mailpit/releases/tag/v1.30.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45711.json"},{"type":"ADVISORY","url":"https://github.com/axllent/mailpit/security/advisories/GHSA-qx5x-85p8-vg4j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45711"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:31.144340437Z"}}