{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-54587","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-06-15T19:15:27.345Z","datePublished":"2026-09-17T16:56:33.174Z","dateUpdated":"2026-09-17T19:15:12.857Z"},"containers":{"cna":{"title":"mport directory asset installation is vulnerable to symlink and path traversal races","problemTypes":[{"descriptions":[{"cweId":"CWE-59","lang":"en","description":"CWE-59: Improper Link Resolution Before File Access ('Link Following')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-367","lang":"en","description":"CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition","type":"CWE"}]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.8,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"references":[{"name":"https://github.com/MidnightBSD/mport/security/advisories/GHSA-f69w-h3gh-r86p","tags":["x_refsource_CONFIRM"],"url":"https://github.com/MidnightBSD/mport/security/advisories/GHSA-f69w-h3gh-r86p"},{"name":"https://github.com/MidnightBSD/mport/pull/119","tags":["x_refsource_MISC"],"url":"https://github.com/MidnightBSD/mport/pull/119"},{"name":"https://github.com/MidnightBSD/mport/commit/a4fa996df1fbebeff3691e1b512c807b5f414b5d","tags":["x_refsource_MISC"],"url":"https://github.com/MidnightBSD/mport/commit/a4fa996df1fbebeff3691e1b512c807b5f414b5d"},{"name":"https://github.com/MidnightBSD/mport/releases/tag/2.7.8","tags":["x_refsource_MISC"],"url":"https://github.com/MidnightBSD/mport/releases/tag/2.7.8"}],"affected":[{"vendor":"MidnightBSD","product":"mport","versions":[{"version":"< 2.7.8","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-09-17T16:56:33.174Z"},"descriptions":[{"lang":"en","value":"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":{"advisory":"GHSA-f69w-h3gh-r86p","discovery":"UNKNOWN"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-17T19:14:56.768674Z","id":"CVE-2026-54587","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-09-17T19:15:12.857Z"}}]}}