What’s Vulnerable › Vulnerabilities
CVE-2026-54583: mport package bundle downloads allow unsafe destination filenames
- Severity: high (CVSS 8.3 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-17 · updated 2026-09-17
- Weakness: CWE-22
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.
Affected products
- MidnightBSD mport: before 2.7.8
References
- https://github.com/MidnightBSD/mport/commit/cad959d47bc79a62b6a7163800fbfe35633e7cf8
- https://github.com/MidnightBSD/mport/pull/125
- https://github.com/MidnightBSD/mport/releases/tag/2.7.8
- https://github.com/MidnightBSD/mport/security/advisories/GHSA-mr62-mqwj-vhh3
Get alerted when CVE-2026-54583 or the next vulnerability affects your stack