{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-54585","published":"2026-09-17T17:16:43.747000Z","last_modified":"2026-09-17T21:15:06.427000Z","status":"Deferred","cvss":{"version":"4.0","score":6.0,"severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/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":false,"cwes":["CWE-22"],"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":51,"links":{"html_es":"/es/cve/CVE-2026-54585/","html_en":"/en/cve/CVE-2026-54585/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-54585","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-54585"},"untrusted":{"vendor_name":"MidnightBSD","product_name":"mport","desc_en":"mport is the MidnightBSD Package Manager. Prior to 2.7.8, create_sample_file() in libmport/bundle_read_install_pkg.c did not constrain absolute source and destination paths from the sample-file manifest directive to mport->root. A malicious or malformed package manifest could therefore direct privileged sample-file handling to copy or write outside the configured installation root, compromising local filesystem integrity. 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/36a42c8ddbd23ee9eb72c4c17596eb92cb423cf0","tags":[]},{"url":"https://github.com/MidnightBSD/mport/pull/122","tags":[]},{"url":"https://github.com/MidnightBSD/mport/releases/tag/2.7.8","tags":[]},{"url":"https://github.com/MidnightBSD/mport/security/advisories/GHSA-xqjc-rxmm-p27v","tags":[]}]}}