{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-54587","published":"2026-09-17T17:16:44.020000Z","last_modified":"2026-09-17T21:15:06.427000Z","status":"Deferred","cvss":{"version":"4.0","score":5.8,"severity":"MEDIUM","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-59","CWE-367"],"cpes":[],"cpes_truncated":false,"vendors":["midnightbsd"],"products":["midnightbsd/mport"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":35,"links":{"html_es":"/es/cve/CVE-2026-54587/","html_en":"/en/cve/CVE-2026-54587/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-54587","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-54587"},"untrusted":{"vendor_name":"MidnightBSD","product_name":"mport","desc_en":"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.","affected":[{"untrusted_vendor":"MidnightBSD","untrusted_product":"mport","versions":[]}],"references":[{"url":"https://github.com/MidnightBSD/mport/commit/a4fa996df1fbebeff3691e1b512c807b5f414b5d","tags":[]},{"url":"https://github.com/MidnightBSD/mport/pull/119","tags":[]},{"url":"https://github.com/MidnightBSD/mport/releases/tag/2.7.8","tags":[]},{"url":"https://github.com/MidnightBSD/mport/security/advisories/GHSA-f69w-h3gh-r86p","tags":[]}]}}