{"id":"CVE-2026-54583","aliases":["CVE-2026-54583"],"related":[],"kind":"vulnerability","state":"published","title":"mport package bundle downloads allow unsafe destination filenames","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-17T16:46:28.371Z","modified":"2026-09-17T21:15:06.427Z","severity":{"scorer":"GitHub_M","scheme":"CVSS: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","score":8.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS: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","score":8.3,"rating":"HIGH"}],"cwes":["CWE-22","CWE-73"],"affected":[{"ranges":[{"version":"< 2.7.8","status":"affected"}],"vendor":"MidnightBSD","product":"mport","source":"cvelist"}],"references":[{"url":"https://github.com/MidnightBSD/mport/security/advisories/GHSA-mr62-mqwj-vhh3","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/MidnightBSD/mport/pull/125","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/MidnightBSD/mport/commit/cad959d47bc79a62b6a7163800fbfe35633e7cf8","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-17T16:59:46.851Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54583","url":"https://www.cve.org/CVERecord?id=CVE-2026-54583","licence":"CVE Terms of Use","modified":"2026-09-17T17:00:25.780Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54583","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54583","licence":"Public domain","modified":"2026-09-17T21:15:06.427Z"}],"updatedAt":"2026-11-25T22:59:39.282Z","epss":{"score":0.00517,"percentile":0.45474,"date":"2026-12-01T12:00:22.000Z"}}