8.2

CVE-2026-45711: Mailpit: Path traversal & arbitrary file write in mailpit dump --http via attacker-controlled message IDs

Analyzed
AliasesGHSA-qx5x-85p8-vg4jGO-2026-5599
Published 20-07-2026Last modified 21-07-2026

Vulnerability summary

CVE-2026-45711 is a high (CVSS 8.2) vulnerability in axllent mailpit. EPSS estimates a 0.31% chance of exploitation in the next 30 days, higher than 25.8% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.2/10
010
High · v3.1 (NVD)
EPSS score
0.31%
0%100%
Low · -0.08 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 20-07-2026
    PublishedVulnerability first disclosed.
  2. 21-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.31%

Chance of exploitation in the next 30 days

Percentile

26%

Versus all other CVEs

30-day change

Decrease -0.08 pp

From 0.39% on 05-11-2026

05-11-202605-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Mailpit

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Axllent1 product
Github.com/axllent1 product
  • mailpit< 1.30.0

2 vendors · 2 products

References

4 links