CVE-2026-54587

MEDIUM CVSS 4.0: 5.8 EPSS 0.10%
Updated Sep 18, 2026
mport
Parameter Value
CVSS 5.8 (MEDIUM)
Fixed In 2.7.8
Type CWE-59 (Improper Link Resolution), CWE-367 (Time-of-check Time-of-use (TOCTOU))
Vendor mport
Public PoC No

mport is the MidnightBSD Package Manager. Prior to 2.7.8, directory assets handled as ASSET_DIR or ASSET_DIR_OWNER_MODE in libmport/bundle_read_install_pkg.c used path-based mport_mkdirp(), ownership, and permission operations. A local attacker able to modify part of the target installation tree could use dot-dot traversal or substitute symlinks during privileged package installation, causing directory creation or attribute changes to affect attacker-selected paths outside the intended package directories.

This issue is fixed in version 2.7.8.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
High
Difficult to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
Low
Basic 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