Vulnerability · Published Sep 17, 2026 · Assigned by GitHub_M
CVE-2026-54581mport bootstrap index fetch can continue after hash verification failure
High 8.3
In plain English
A high-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 12% of all known vulnerabilities).
Official description
mport is the MidnightBSD Package Manager. Prior to 2.7.8, the mport_fetch_bootstrap_index() function in libmport/fetch.c could return success when bootstrap index hash verification encountered a missing or invalid hash because the failure path did not preserve a fatal result. A network attacker or compromised mirror able to alter bootstrap index content or its transport path could therefore cause mport to proceed with an unverified or tampered bootstrap package index. This issue is fixed in version 2.7.8.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| MidnightBSD | mport | < 2.7.8 |
Weakness: CWE-345, CWE-347 · 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
References
- https://github.com/MidnightBSD/mport/security/advisories/GHSA-895r-rv8j-7g23 x_refsource_CONFIRM
- https://github.com/MidnightBSD/mport/pull/134 x_refsource_MISC
- https://github.com/MidnightBSD/mport/pull/135 x_refsource_MISC
- https://github.com/MidnightBSD/mport/commit/64ebf3f60dc3df72a3b47fbb20a7f8072c0a0f5e x_refsource_MISC
- https://github.com/MidnightBSD/mport/commit/b3e11ba078351402082a881209ee6fda5d332e3d x_refsource_MISC
- https://github.com/MidnightBSD/mport/releases/tag/2.7.8 x_refsource_MISC