{"id":"CVE-2026-45711","revision":"35f37ab2ca0c41cb8fb6fc27ebafb3c3","records":[{"revision":"35f37ab2ca0c41cb8fb6fc27ebafb3c3","observedAt":"2026-10-25T12:17:14.897+00:00","statement":{"source":"nvd","id":"CVE-2026-45711","aliases":[],"title":"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 use…","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.","state":0,"publishedAt":"2026-07-20T16:17:00.333+00:00","modifiedAt":"2026-10-24T20:10:00.137+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L","score":5.9,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","score":8.2,"severity":"HIGH"}],"references":["https://github.com/axllent/mailpit/releases/tag/v1.30.0","https://github.com/axllent/mailpit/security/advisories/GHSA-qx5x-85p8-vg4j"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-45711","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-22","CWE-829"],"productCriteria":["cpe:2.3:a:axllent:mailpit:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2026-07-20T16:17:00.333","lastModified":"2026-10-24T20:10:00.137"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-45711","identifiers":["CVE-2026-45711"]},"retained":false,"historicalAffected":[]}],"coverage":[]}