{"id":"CVE-2026-54583","published":"2026-09-17T16:46:28Z","modified":"2026-09-17T17:00:25Z","title":"mport package bundle downloads allow unsafe destination filenames","vendor":"MidnightBSD","product":"mport","tier":"tail","description":{"text":"mport is the MidnightBSD Package Manager. Prior to 2.7.8, libmport/fetch.c did not consistently reject empty, dot, dot-dot, or slash-containing bundle filenames before composing package download and write paths. Malicious package index data could place an unsafe value in indexEntry->bundlefile, and the missing is_valid_bundle_filename() checks allowed downloaded package data to be written outside the intended cache location or to an unsafe destination name. This issue is fixed in version 2.7.8.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.3,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0054,"percentile":0.46351,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://github.com/MidnightBSD/mport/security/advisories/GHSA-mr62-mqwj-vhh3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/MidnightBSD/mport/pull/125","tags":["x_refsource_MISC"]},{"url":"https://github.com/MidnightBSD/mport/commit/cad959d47bc79a62b6a7163800fbfe35633e7cf8","tags":["x_refsource_MISC"]},{"url":"https://github.com/MidnightBSD/mport/releases/tag/2.7.8","tags":["x_refsource_MISC"]}],"priority":{"score":15.1,"factors":[{"name":"EPSS percentile","points":9.27},{"name":"CVSS severity","points":5.81}]},"vendorSlug":"midnightbsd","affectedVersions":[{"vendor":"MidnightBSD","product":"mport","versions":["< 2.7.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-17T16:59:46.851963Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-82319","exploited":false,"provenance":"source"}}