Path Traversal Vulnerability in Mailpit Email Testing Tool by Axllent
CVE-2026-45711
5.9MEDIUM
What is CVE-2026-45711?
Mailpit, an email testing tool designed for developers, has a path traversal vulnerability prior to version 1.30.0. This issue arises from the mailpit dump --http command, which can be exploited by a malicious HTTP server impersonating Mailpit. The tool improperly constructs file paths by using the message ID from the remote server's JSON response, which may include unnecessary normalization of path segments. As a result, attackers can write files outside the specified output directory, potentially leading to unauthorized access to sensitive information. To mitigate this risk, users should upgrade to version 1.30.0 or later, where the vulnerability has been addressed.
Affected Version(s)
mailpit < 1.30.0
