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

Published Sep 17, 2026
·
Updated

mport is the MidnightBSD Package Manager. Prior to 2.7.8, the mportfetchbootstrapindex() 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 Software

1 affected component
MidnightBSD mport<2.7.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade mport (MidnightBSD Package Manager) to a version that resolves this vulnerability.

    Fixed in 2.7.8

Event History

Sep 17, 2026
CVE Published
via MITRE·04:45 PM
Data Sourced
via MITRE·04:45 PM
DescriptionWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An attacker must be able to alter bootstrap index content or interfere with the transport path used to retrieve it. This includes a compromised package mirror or a network attacker positioned to modify the fetch.

2

Are installations using the fixed release affected?

No. The issue is fixed in mport version 2.7.8; the affected behavior applies to versions prior to 2.7.8.

3

What is the security impact of a failed verification in an affected version?

mport may continue as though the bootstrap index fetch succeeded even when its hash is missing or invalid. This can allow use of an unverified or tampered bootstrap package index.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203