CVE-2026-54583
mport is the MidnightBSD Package Manager. Prior to 2.7.8, …
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 now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/MidnightBSD/mport/commit/cad959d47bc79a62b6a7163800fbfe35633e7cf8
- github.com/MidnightBSD/mport/pull/125
- github.com/MidnightBSD/mport/releases/tag/2.7.8
- github.com/MidnightBSD/mport/security/advisories/GHSA-mr62-mqwj-vhh3
- nvd.nist.gov/vuln/detail/CVE-2026-54583
- cve.org/CVERecord?id=CVE-2026-54583
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.