CVE-2026-45711

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:axllent:mailpit:*:*:*:*:*:*:*:*

History

24 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) Mailpit es una herramienta de prueba de correo electrónico y API para desarrolladores. Antes de la versión 1.30.0, el subcomando mailpit dump --http [base-url] [out-dir] descarga cada mensaje de una instancia remota de Mailpit y escribe cada uno como [id].eml dentro del directorio de salida proporcionado por el usuario. El campo de ID del mensaje se toma textualmente de la respuesta JSON del servidor remoto y se concatena en la ruta de salida con path.Join, que normaliza silenciosamente los segmentos ’..’. Un servidor HTTP malicioso que suplanta a Mailpit puede, por lo tanto, hacer que mailpit dump escriba bytes controlados por el atacante en cualquier ruta en la que el usuario en ejecución pueda escribir, completamente fuera del directorio de salida previsto. La versión 1.30.0 contiene un parche.

Information

Published : 2026-07-20 16:17

Updated : 2026-10-24 20:10


NVD link : CVE-2026-45711

Mitre link : CVE-2026-45711

CVE.ORG link : CVE-2026-45711


JSON object : View

Products Affected

axllent

  • mailpit
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-829

Inclusion of Functionality from Untrusted Control Sphere