High severity · published Sep 17, 2026
CVE-2026-54583
mport package bundle downloads allow unsafe destination filenames
8.3
CVSS
0.5%
EPSS
No
On KEV
Description
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 45% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MP
mport · MidnightBSD
< 2.7.8 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-54583
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-54583
github.com
https://github.com/MidnightBSD/mport/commit/cad959d47bc79a62b6a7163800fbfe35633e7cf8
github.com
https://github.com/MidnightBSD/mport/pull/125
github.com
https://github.com/MidnightBSD/mport/releases/tag/2.7.8
github.com
https://github.com/MidnightBSD/mport/security/advisories/GHSA-mr62-mqwj-vhh3
More from mport
8.3
CVE-2026-54580
mport index decompression can leave partial or corrupt index data after zstd failures
8.3
CVE-2026-54581
mport bootstrap index fetch can continue after hash verification failure
6.0
CVE-2026-54586
mport permits repository and package mirror fetches over insecure transport
6.0
CVE-2026-54585
mport sample file handling can write outside the configured root
6.0
CVE-2026-54582
mport package installation can overwrite existing unmanaged or differently owned files
