CVE-2026-54583

HIGH CVSS 4.0: 8.3 EPSS 0.54%
Updated Sep 18, 2026
mport
Parameter Value
CVSS 8.3 (HIGH)
Fixed In 2.7.8
Type CWE-73 (External Control of File Name or Path), CWE-22 (Path Traversal)
Vendor mport
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
Low
Partial disruption

CVSS Vector v4.0