Skip to content

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

HighCVSS 8.3 EPSS 0.54%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

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 is_valid_bundle_filename() 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.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
MidnightBSD mport = < 2.7.8 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
MidnightBSD mport = < 2.7.8 No fix listed

References