CVE-2026-54587
mport directory asset installation is vulnerable to symlink and path traversal races
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-59 CWE-367 |
| Vendor | midnightbsd |
| Product | mport |
| Published | Sep 17, 2026 |
Stay Ahead of the Next One
Get instant alerts for midnightbsd mport
Be the first to know when new unknown vulnerabilities affecting midnightbsd mport are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
MidnightBSD / mport
< 2.7.8
References
github.com: https://github.com/MidnightBSD/mport/security/advisories/GHSA-f69w-h3gh-r86p github.com: https://github.com/MidnightBSD/mport/pull/119 github.com: https://github.com/MidnightBSD/mport/commit/a4fa996df1fbebeff3691e1b512c807b5f414b5d github.com: https://github.com/MidnightBSD/mport/releases/tag/2.7.8