{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-45711","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-05-13T05:51:48.665Z","datePublished":"2026-07-20T14:39:06.690Z","dateUpdated":"2026-07-21T15:42:56.143Z"},"containers":{"cna":{"title":"Mailpit: Path traversal & arbitrary file write in mailpit dump --http via attacker-controlled message IDs","problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-829","lang":"en","description":"CWE-829: Inclusion of Functionality from Untrusted Control Sphere","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L","version":"3.1"}}],"references":[{"name":"https://github.com/axllent/mailpit/security/advisories/GHSA-qx5x-85p8-vg4j","tags":["x_refsource_CONFIRM"],"url":"https://github.com/axllent/mailpit/security/advisories/GHSA-qx5x-85p8-vg4j"},{"name":"https://github.com/axllent/mailpit/releases/tag/v1.30.0","tags":["x_refsource_MISC"],"url":"https://github.com/axllent/mailpit/releases/tag/v1.30.0"}],"affected":[{"vendor":"axllent","product":"mailpit","versions":[{"version":"< 1.30.0","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-07-20T14:39:06.690Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-qx5x-85p8-vg4j","discovery":"UNKNOWN"}},"adp":[{"references":[{"url":"https://github.com/axllent/mailpit/security/advisories/GHSA-qx5x-85p8-vg4j","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-21T15:38:53.037071Z","id":"CVE-2026-45711","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-07-21T15:42:56.143Z"}}]}}