mport is the MidnightBSD Package Manager. Prior to 2.7.8, the mport_fetch_index(), mport_fetch_bootstrap_index(), and mport_fetch_bundle() paths in libmport/fetch.c accepted non-HTTPS repository and package mirror URLs without a url_is_https() enforcement check. When a cleartext URL was configured or returned by mirror data, a network-positioned attacker could tamper with package index or package download traffic and compromise package selection or integrity. This issue is fixed in version 2.7.8.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-319",
"CWE-345"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54586.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54586.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "330651263378550351431824170733181136631",
"length": 1003
},
"id": "CVE-2026-54586-5f5f5dfd",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/midnightbsd/mport/commit/9b4d0f9192b243ee32266afa36dce430b257b921",
"target": {
"file": "libmport/fetch.c",
"function": "mport_fetch_bootstrap_index"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"87202371787256375580825701242587534325",
"292710471633789271015363719567996223911",
"330205345980952116775422996878523744684",
"5049253250506327890800463441251290769",
"1143066104045737858950436484863772041",
"312248038583867603601548935039583487334",
"27273291721498388546853151044472796016",
"213132730140500568569703997021576152450",
"165241533151188968352001776780176613596",
"202439467465724316123857185243160157111",
"16188201062170795790242608177059995033",
"139370752144087896306756922554741053213",
"1143066104045737858950436484863772041",
"111722753616255393028516134137972750258",
"62902174085889379286499466319697240953",
"304248851722277412317219938941658749585",
"52734687378637338078395584772832694213",
"13732629114859323110375832084662696186",
"101776727208500131752168413408106379398"
],
"threshold": 0.9
},
"id": "CVE-2026-54586-948fd721",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/midnightbsd/mport/commit/9b4d0f9192b243ee32266afa36dce430b257b921",
"target": {
"file": "libmport/fetch.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "24642465677067625115430151991407919370",
"length": 1083
},
"id": "CVE-2026-54586-edbcd806",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/midnightbsd/mport/commit/9b4d0f9192b243ee32266afa36dce430b257b921",
"target": {
"file": "libmport/fetch.c",
"function": "mport_fetch_bundle"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "280546841546949863632380859921918464654",
"length": 1727
},
"id": "CVE-2026-54586-f053cfa2",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/midnightbsd/mport/commit/9b4d0f9192b243ee32266afa36dce430b257b921",
"target": {
"file": "libmport/fetch.c",
"function": "mport_fetch_index"
}
}
]
"2026-09-19T08:08:52Z"