CVE-2026-54585

published 17 Sep 2026 · updated 17 Sep 2026

mport sample file handling can write outside the configured root

6.0MediumCVSS 6.0EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MidnightBSD<2.7.8

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-54585 severity on Zeptric[![CVE-2026-54585](https://zeptric.io/badge/cve/CVE-2026-54585.svg)](https://zeptric.io/cve/CVE-2026-54585)