{
  "id": "CVE-2026-45711",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-45711",
  "published_at": "2026-07-20T14:39:06.69Z",
  "title": "Mailpit: Path traversal \u0026 arbitrary file write in mailpit dump --http via attacker-controlled message IDs",
  "vendor": "axllent",
  "product": "mailpit",
  "cvss": {
    "score": 8.2,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Mailpit is an email testing tool and API for developers. Prior to version 1.30.0, the mailpit dump --http \u003cbase-url\u003e \u003cout-dir\u003e sub-command downloads every message from a remote Mailpit instance and writes each one as \u003cid\u003e.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.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:axllent:mailpit:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 5.9,
    "nvd": 8.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "axllent",
        "product": "mailpit",
        "ranges": [
          "\u003c 1.30.0"
        ],
        "fixed_in": [
          "1.30.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade mailpit to 1.30.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/axllent/mailpit/security/advisories/GHSA-qx5x-85p8-vg4j"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/axllent/mailpit/releases/tag/v1.30.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
