CVE-2026-54585: mport sample file handling can write outside the configured root
MidnightBSD · mport
Affected: MidnightBSD mport · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 46% of scored CVEs
DescriptionCVE.org
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 products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- MidnightBSD · mport< 2.7.8
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- MidnightBSD
- Published
- September 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-54585 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-22cwe.mitre.org
- github.com/MidnightBSD/mport/security/advisories/GHSA-xqjc-rxmm-github.com
- github.com/MidnightBSD/mport/pull/122github.com
- github.com/MidnightBSD/mport/commit/36a42c8ddbd23ee9eb72c4c17596github.com
- github.com/MidnightBSD/mport/releases/tag/2.7.8github.com