mport bootstrap index fetch can continue after hash verification failure
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · High · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-345.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MidnightBSD | mport | before 2.7.8 | 2.7.8 | Patch available | CNA |
- mport VendorMidnightBSD Affected before 2.7.8 Fixed in 2.7.8 Patch available CNA
Remediation
- Fix · CNA mport (MidnightBSD) Fixed in 2.7.8
Timeline
- 2026-10-02 Threatist record created from CVE-2026-54581
References
Other 6
- https://github.com/MidnightBSD/mport/security/advisories/GHSA-895r-rv8j-7g23
- https://github.com/MidnightBSD/mport/pull/134
- https://github.com/MidnightBSD/mport/pull/135
- https://github.com/MidnightBSD/mport/commit/64ebf3f60dc3df72a3b47fbb20a7f8072c0a0f5e
- https://github.com/MidnightBSD/mport/commit/b3e11ba078351402082a881209ee6fda5d332e3d
- https://github.com/MidnightBSD/mport/releases/tag/2.7.8
More MidnightBSD vulnerabilities
- TI-2008-04392 The TCP implementation in (1) Linux, (2) platforms based on BSD Unix, (3) Microsoft… CVSS 2.0HIGH 7.1
- TI-2009-00656 The pf_test_rule function in OpenBSD Packet Filter (PF), as used in OpenBSD 4.2 through… CVSS 2.0HIGH 7.8
- TI-2026-39418 mport package bundle downloads allow unsafe destination filenames CVSS 4.0HIGH 8.3
- TI-2026-39415 mport index decompression can leave partial or corrupt index data after zstd failures CVSS 4.0HIGH 8.3
- TI-2026-39421 mport permits repository and package mirror fetches over insecure transport CVSS 4.0MEDIUM 6.0
- TI-2026-39420 mport sample file handling can write outside the configured root CVSS 4.0MEDIUM 6.0
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences