# CVE-2026-54583: mport package bundle downloads allow unsafe destination filenames

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 2.7.8 (CNA); fix release not confirmed
- Status: published
- Published: 2026-09-17 · Modified: 2026-09-17
- Record: https://cvemate.com/vulnerability/CVE-2026-54583 · JSON: https://cvemate.com/vulnerability/CVE-2026-54583/json

## Description

```text
mport is the MidnightBSD Package Manager. Prior to 2.7.8, libmport/fetch.c did not consistently reject empty, dot, dot-dot, or slash-containing bundle filenames before composing package download and write paths. Malicious package index data could place an unsafe value in indexEntry->bundlefile, and the missing is_valid_bundle_filename() checks allowed downloaded package data to be written outside the intended cache location or to an unsafe destination name. This issue is fixed in version 2.7.8.
```

## Signals

- CVSS: 8.3 high (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
- EPSS: 0.517%, percentile 45.509%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- midnightbsd mport: \< 2.7.8

## References

- <https://github.com/MidnightBSD/mport/security/advisories/GHSA-mr62-mqwj-vhh3>
- <https://github.com/MidnightBSD/mport/pull/125>
- <https://github.com/MidnightBSD/mport/commit/cad959d47bc79a62b6a7163800fbfe35633e7cf8>
- <https://github.com/MidnightBSD/mport/releases/tag/2.7.8>

---

Data as of 2026-12-05T08:00:57.167Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
