# CVE-2026-54581: mport bootstrap index fetch can continue after hash verification failure

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 2.7.8 (CNA); fix release not confirmed
- Status: published
- Published: 2026-09-17 · Modified: 2026-09-17
- Record: https://cvemate.com/vulnerability/CVE-2026-54581 · JSON: https://cvemate.com/vulnerability/CVE-2026-54581/json

## Description

```text
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.
```

## Signals

- CVSS: 8.3 high (v4.0, CVE.org) 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
- EPSS: 0.209%, percentile 11.6%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- midnightbsd mport: \< 2.7.8

## References

- <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>

---

Data as of 2026-12-05T07:51:34.518Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
