# CVE-2026-54587: mport directory asset installation is vulnerable to symlink and path traversal races

- Severity: Medium 5.8 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.10%, higher than 0% of CVEs (2026-12-01)
- Published: 2026-09-17T16:56:33.174Z
- Modified: 2026-09-17T21:15:06.427Z
- Weaknesses: CWE-59, CWE-367
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- MidnightBSD mport: < 2.7.8

## 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>

## Sources

- CVE List: [CVE-2026-54587](https://www.cve.org/CVERecord?id=CVE-2026-54587), CVE Terms of Use, modified 2026-09-17
- NVD: [CVE-2026-54587](https://nvd.nist.gov/vuln/detail/CVE-2026-54587), Public domain, modified 2026-09-17

---

Page: https://cve.day/CVE-2026-54587 · Whole record: https://cve.day/CVE-2026-54587.json · Rebuilt by cve.day 2026-11-25T22:59:39.283Z
