CVE-2026-54581 mport bootstrap index fetch can continue after hash verification failure
Attackers can bypass hash verification in MidnightBSD's mport, allowing tampered package indexes to be processed, potentially leading to code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-54581?
CVE-2026-54581 is a high-severity vulnerability in MidnightBSD mport, published on 17 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
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.
Which versions are affected by CVE-2026-54581?
How do I fix CVE-2026-54581?
No fix has been published for CVE-2026-54581 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-54581 being exploited?
There is no known exploitation of CVE-2026-54581 in the wild and no public exploit code.
Sources
Also known as GHSA-895r-rv8j-7g23.