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:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:LAxllent Mailpit
APPAxllent< 1.30.0
Related vulnerabilities
Mailpit SMTP/HTTP – brak limitu rozmiaru wiadomości prowadzi do wyczerpania pamięci (DoS)
Mailpit jest narzędziem testowania poczty e-mail i API dla deweloperów. Poprawka dla CVE-2026-23845 (SSRF popr...
Mailpit to narzędzie testowania poczty e-mail dla developerów. Przed wersją 1.30.1 poprawka poprzedniego waria...
Mailpit to narzędzie do testowania poczty e-mail i API dla deweloperów. Przed wersją 1.30.0 proxy screenshot/p...
Mailpit to narzędzie testowania poczty e-mail i API dla deweloperów. Przed wersją 1.29.2 Link Check API (/api/...