CVE-2026-54583: mport package bundle downloads allow unsafe destination filenames

Published Sep 17, 2026
·
Updated

mport is the MidnightBSD Package Manager. Prior to 2.7.8, libmport/fetch.c did not consistently reject empty, dot, dot-dot, or slash-containing bundle filenames before composing package download and write paths. Malicious package index data could place an unsafe value in indexEntry->bundlefile, and the missing isvalidbundlefilename() checks allowed downloaded package data to be written outside the intended cache location or to an unsafe destination name. This issue is fixed in version 2.7.8.

Affected Software

1 affected component
mport/libmport<2.7.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade libmport/mport to a version that resolves this vulnerability.

    Fixed in 2.7.8

Event History

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

Frequently Asked Questions

1

Which installations are affected?

Installations using mport versions prior to 2.7.8 are affected.

2

What does an attacker need to exploit this issue?

The attacker needs to supply malicious package index data containing an unsafe bundlefile value, such as an empty name, dot, dot-dot, or a name containing a slash.

3

What is the practical impact of a successful exploit?

Downloaded package data may be written outside the intended cache location or to an unsafe destination filename.

4

How can I remediate the issue?

Upgrade mport to version 2.7.8, which adds the missing bundle filename validation checks.

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