CVE-2026-54585

MEDIUM CVSS 4.0: 6.0 EPSS 0.54%
Updated Sep 18, 2026
mport
Parameter Value
CVSS 6.0 (MEDIUM)
Fixed In 2.7.8
Type CWE-22 (Path Traversal)
Vendor mport
Public PoC No

mport is the MidnightBSD Package Manager. Prior to 2.7.8, create_sample_file() in libmport/bundle_read_install_pkg.c did not constrain absolute source and destination paths from the sample-file manifest directive to mport->root. A malicious or malformed package manifest could therefore direct privileged sample-file handling to copy or write outside the configured installation root, compromising local filesystem integrity.

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
Passive
Minimal interaction

Impact Assessment

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

CVSS Vector v4.0

Weakness Type (CWE)