CVE-2026-54585

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.
CVSS

No CVSS.

Configurations

No configuration.

History

17 Sep 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-09-17 17:16

Updated : 2026-09-17 21:15


NVD link : CVE-2026-54585

Mitre link : CVE-2026-54585

CVE.ORG link : CVE-2026-54585


JSON object : View

Products Affected

No product.

CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')