CVE-2026-54587
mport is the MidnightBSD Package Manager. Prior to 2.7.8, directory …
mport is the MidnightBSD Package Manager. Prior to 2.7.8, directory assets handled as ASSET_DIR or ASSET_DIR_OWNER_MODE in libmport/bundle_read_install_pkg.c used path-based mport_mkdirp(), ownership, and permission operations. A local attacker able to modify part of the target installation tree could use dot-dot traversal or substitute symlinks during privileged package installation, causing directory creation or attribute changes to affect attacker-selected paths outside the intended package directories. 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.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/MidnightBSD/mport/commit/a4fa996df1fbebeff3691e1b512c807b5f414b5d
- github.com/MidnightBSD/mport/pull/119
- github.com/MidnightBSD/mport/releases/tag/2.7.8
- github.com/MidnightBSD/mport/security/advisories/GHSA-f69w-h3gh-r86p
- nvd.nist.gov/vuln/detail/CVE-2026-54587
- cve.org/CVERecord?id=CVE-2026-54587
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.