CVE-2026-54583: Midnightbsd Mport
High severity, CVSS 8.3. EPSS: 0.5% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for the versions it affects. If you run one, update to it.
- Midnightbsd Mport, before 2.7.8: fixed in 2.7.8
Affected products
- Midnightbsd Mport: before 2.7.8 (fixed in 2.7.8)
Published 2026-09-17. Last modified 2026-09-17.