CVE-2026-54587 mport directory asset installation is vulnerable to symlink and path traversal races
MediumCVSS 5.8
EPSS 0.11%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| MidnightBSD mport | = < 2.7.8 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MidnightBSD mport | = < 2.7.8 | No fix listed |
References
- https://github.com/MidnightBSD/mport/security/advisories/GHSA-f69w-h3gh-r86p
- https://github.com/MidnightBSD/mport/pull/119
- https://github.com/MidnightBSD/mport/commit/a4fa996df1fbebeff3691e1b512c807b5f414b5d
- https://github.com/MidnightBSD/mport/releases/tag/2.7.8
- ENISA EUVD EUVD-2026-82328 third-party-advisory