CVE-2026-54585
mport is the MidnightBSD Package Manager. Prior to 2.7.8, …
mport is the MidnightBSD Package Manager. Prior to 2.7.8, create_sample_file() in libmport/bundle_read_install_pkg.c did not constrain absolute source and destination paths from the sample-file manifest directive to mport->root. A malicious or malformed package manifest could therefore direct privileged sample-file handling to copy or write outside the configured installation root, compromising local filesystem integrity. 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/36a42c8ddbd23ee9eb72c4c17596eb92cb423cf0
- github.com/MidnightBSD/mport/pull/122
- github.com/MidnightBSD/mport/releases/tag/2.7.8
- github.com/MidnightBSD/mport/security/advisories/GHSA-xqjc-rxmm-p27v
- nvd.nist.gov/vuln/detail/CVE-2026-54585
- cve.org/CVERecord?id=CVE-2026-54585
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.