CVE-2026-54581 json
mport bootstrap index fetch can continue after hash verification failure
published 5mo ago modified last mo. also EUVD-2026-82318 , GHSA-895r-rv8j-7g23
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository MidnightBSD/mport. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 8.3
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 12%
- public exploits
- 0
- none known
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.
Patch / fix
- github.com/MidnightBSD/mport@64ebf3f commit
- github.com/MidnightBSD/mport@b3e11ba commit
- github.com/MidnightBSD/mport#134 pull request
- github.com/MidnightBSD/mport#135 pull request
- github.com/MidnightBSD/mport/releases/tag/2.7.8 release
Is CVE-2026-54581 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last mo.
Exploit prediction
0.22% chance of exploitation in the next 30 days, higher than 12% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.3 | 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 |
| CNA | 4.0 | 8.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected products
- MidnightBSD mport
Classification
References
- github.com /MidnightBSD/mport/pull/134
- github.com /MidnightBSD/mport/pull/135
- github.com /MidnightBSD/mport/commit/64ebf3f60dc3df72a3b47fbb20a7f8072c0a0f5e
- github.com /MidnightBSD/mport/commit/b3e11ba078351402082a881209ee6fda5d332e3d
-
github.com
/MidnightBSD/mport/security/advisories/GHSA-895r-rv8j-7g23
advisory
- github.com /MidnightBSD/mport/releases/tag/2.7.8
Sources
- CVE List CVE-2026-54581
- NVD CVE-2026-54581
- Maintainer advisory GHSA-895r-rv8j-7g23
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of MidnightBSD/mport published their own advisory on GitHub. Reviewed sources take precedence over it.