Vulnerability · Published Sep 17, 2026 · Assigned by GitHub_M
CVE-2026-54586mport permits repository and package mirror fetches over insecure transport
Medium 6.0
In plain English
A medium-severity insufficient verification of data authenticity in mport from MidnightBSD. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 5% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| MidnightBSD | mport | < 2.7.8 |
Weakness: CWE-319, CWE-345 · Vector: CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
References
- https://github.com/MidnightBSD/mport/security/advisories/GHSA-v5pv-7gxw-74r5 x_refsource_CONFIRM
- https://github.com/MidnightBSD/mport/pull/121 x_refsource_MISC
- https://github.com/MidnightBSD/mport/commit/9b4d0f9192b243ee32266afa36dce430b257b921 x_refsource_MISC
- https://github.com/MidnightBSD/mport/releases/tag/2.7.8 x_refsource_MISC