CVE-2026-54587: MidnightBSD mport · Link Following
Affects MidnightBSD mportSource CVE Database V5
Not known to be exploited · CVSS 5.8 Medium : upgrade to 2.7.8 when convenient.
Data as of 1 Nov 2026, 22:58 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 1% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.7.8
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 17 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Nov 2026.
What to do
Upgrade mport and midnightbsd/mport to 2.7.8.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| MidnightBSDmport | Affected
| Fixed in
|
GitHubmidnightbsd/mportpkg:github/midnightbsd/mportOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
This vulnerability is fixed in MidnightBSD mport version 2.7.8. Users should upgrade to version 2.7.8 or later to remediate this issue. No additional vendor advisory or patch links are provided, but upgrading to the fixed version is the recommended action.
Description
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.
References
- github.com/MidnightBSD/mport/security/advisories/GHSA-f69w-h3gh-r86p (opens in a new tab)
- github.com/MidnightBSD/mport/pull/119 (opens in a new tab)
- github.com/MidnightBSD/mport/commit/a4fa996df1fbebeff3691e1b512c807b5f414b5d (opens in a new tab)
- github.com/MidnightBSD/mport/releases/tag/2.7.8 (opens in a new tab)