{"id":"CVE-2026-54583","published":"2026-09-17T17:16:43.593","lastModified":"2026-09-17T21:15:06.427","description":"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.","cvssScore":null,"cvssSeverity":null,"cvssVector":null,"cwes":["CWE-22","CWE-73"],"vendors":[],"products":[],"references":[{"url":"https://github.com/MidnightBSD/mport/commit/cad959d47bc79a62b6a7163800fbfe35633e7cf8","tags":[]},{"url":"https://github.com/MidnightBSD/mport/pull/125","tags":[]},{"url":"https://github.com/MidnightBSD/mport/releases/tag/2.7.8","tags":[]},{"url":"https://github.com/MidnightBSD/mport/security/advisories/GHSA-mr62-mqwj-vhh3","tags":[]}],"exploitRefs":[{"url":"https://github.com/MidnightBSD/mport/commit/cad959d47bc79a62b6a7163800fbfe35633e7cf8","tags":[]},{"url":"https://github.com/MidnightBSD/mport/pull/125","tags":[]},{"url":"https://github.com/MidnightBSD/mport/releases/tag/2.7.8","tags":[]},{"url":"https://github.com/MidnightBSD/mport/security/advisories/GHSA-mr62-mqwj-vhh3","tags":[]}],"hasPoc":true,"ai":null}