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.
CVE-2026-54585
This medium-severity CVE scores 6.0 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.5%, top 57% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.0
- EG Score
- 6.0(medium)
- EG Risk
- 27(Track)EG Risk 27/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity60% × 45%Exploitation1% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 1%
- EPSS %ILE
- 43%
- KEV
- Not listed
Published
September 17, 2026
Last Modified
September 17, 2026
Advisory Details (4)
Auto-updated Sep 17, 2026mport 2.7.8
Patch available: MidnightBSD/mport 2.7.8
https://github.com/MidnightBSD/mport/releases/tag/2.7.8commit 36a42c8ddbd2 (MidnightBSD/mport)
Patch available: MidnightBSD/mport 2.7.8 (contains commit 36a42c8ddbd2)
https://github.com/MidnightBSD/mport/commit/36a42c8ddbd23ee9eb72c4c17596eb92cb423cf0Constrain @sample destination handling to mport root
Patch available: MidnightBSD/mport 2.7.8 (PR #122 merged 2026-05-14)
https://github.com/MidnightBSD/mport/pull/122mport sample file handling can write outside the configured root · Advisory · MidnightBSD/mport · GitHub
Affected: 2.7.8
https://github.com/MidnightBSD/mport/security/advisories/GHSA-xqjc-rxmm-p27vWeakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 9× in last 7d / 13× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-09-25 10:20 UTCEG score recompute
- 2026-09-24 14:04 UTCEPSS rescore
- 2026-09-24 08:28 UTCEG score recompute
- 2026-09-23 17:54 UTCEPSS rescore
- 2026-09-23 06:37 UTCEG score recompute
- 2026-09-22 04:45 UTCEG score recompute
- 2026-09-20 01:03 UTCEG score recompute
- 2026-09-18 23:11 UTCEG score recompute
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-17 18:26 UTCEG score recompute
- 2026-09-17 17:35 UTCEG score recompute
- 2026-09-17 17:00 UTCEG score recompute
- 2026-09-17 16:59 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-54585?
When was CVE-2026-54585 disclosed?
Is CVE-2026-54585 actively exploited?
What is the CVSS score of CVE-2026-54585?
How do I remediate CVE-2026-54585?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-54585
Is Your Infrastructure Affected by CVE-2026-54585?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.