{"id":"CVE-2026-54587","aliases":["CVE-2026-54587"],"related":[],"kind":"vulnerability","state":"published","title":"mport directory asset installation is vulnerable to symlink and path traversal races","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-17T16:56:33.174Z","modified":"2026-09-17T21:15:06.427Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":5.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":5.8,"rating":"MEDIUM"}],"cwes":["CWE-59","CWE-367"],"affected":[{"ranges":[{"version":"< 2.7.8","status":"affected"}],"vendor":"MidnightBSD","product":"mport","source":"cvelist"}],"references":[{"url":"https://github.com/MidnightBSD/mport/security/advisories/GHSA-f69w-h3gh-r86p","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/MidnightBSD/mport/pull/119","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/MidnightBSD/mport/commit/a4fa996df1fbebeff3691e1b512c807b5f414b5d","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/MidnightBSD/mport/releases/tag/2.7.8","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-17T19:14:56.768Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54587","url":"https://www.cve.org/CVERecord?id=CVE-2026-54587","licence":"CVE Terms of Use","modified":"2026-09-17T19:15:12.857Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54587","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54587","licence":"Public domain","modified":"2026-09-17T21:15:06.427Z"}],"updatedAt":"2026-11-25T22:59:39.283Z","epss":{"score":0.001,"percentile":0.00919,"date":"2026-12-01T12:00:22.000Z"}}