Skip to main content

MidnightBSD mport CVE-2026-54587

| EUVDEUVD-2026-82328 MEDIUM
Improper Link Resolution Before File Access (CWE-59)
2026-09-17 GitHub_M
5.8
CVSS 4.0 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
5.8 MEDIUM
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
5.3 MEDIUM

Local foothold and TOCTOU symlink race give AV:L/AC:H/PR:L; UI:N since the privileged install is admin-driven, not attacker-solicited; integrity-only high impact with minor availability, no confidentiality.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

3
Metadata Corrected
Sep 17, 2026 - 18:40 vuln.today
tag: Information Disclosure removed
Patch available
Sep 17, 2026 - 18:19 EUVD
Analysis Generated
Sep 17, 2026 - 18:12 vuln.today

DescriptionCVE.org

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.

AnalysisAI

Symlink following and dot-dot path traversal in MidnightBSD mport prior to 2.7.8 lets a local attacker who can already write to part of the target installation tree redirect directory creation and ownership/permission changes to attacker-selected paths during a privileged package installation. The flaw sits in the ASSET_DIR and ASSET_DIR_OWNER_MODE handling in libmport/bundle_read_install_pkg.c, which performed path-based mport_mkdirp(), chown and chmod operations (CWE-59); impact is integrity-only, since an attacker can create directories or alter ownership and mode on paths outside the intended package directories with no confidentiality exposure. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
technique details hidden
Delivery
technique details hidden
Exploit
technique details hidden
Execution
technique details hidden
Impact
technique details hidden

Vulnerability AssessmentAI

Exploitation Requires (1) a local attacker who already has write access to part of the target installation tree on a MidnightBSD host running mport prior to 2.7.8, and (2) a privileged package install processing ASSET_DIR or ASSET_DIR_OWNER_MODE directory assets to occur while the attacker's symlink or dot-dot path is in place. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment This is a genuine but sharply gated local integrity flaw, not a mass-exploitation priority. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario Full exploit scenario with step-by-step reproduction available after sign-in.
Remediation Vendor-released patch: upgrade mport to 2.7.8, available from https://github.com/MidnightBSD/mport/releases/tag/2.7.8, which contains the file-descriptor-based directory asset handling introduced by commit a4fa996df1fbebeff3691e1b512c807b5f414b5d via PR https://github.com/MidnightBSD/mport/pull/119; consult the vendor advisory GHSA-f69w-h3gh-r86p for details. … Detailed patch versions, workarounds, and compensating controls in full report.

Threat intelligence, references, and detailed analysis are available after sign-in.

CVE-2020-24863 MEDIUM POC
5.5 Sep 03

A memory corruption vulnerability was found in the kernel function kern_getfsstat in MidnightBSD before 1.2.7 and 1.3 th

CVE-2026-54580 HIGH
8.3 Sep 17

Package-index corruption and denial of package-management operations affect MidnightBSD mport before 2.7.8 when a malici

CVE-2026-54583 HIGH
8.3 Sep 17

Path traversal in the MidnightBSD mport package manager (libmport/fetch.c) before version 2.7.8 lets an attacker who con

CVE-2026-54581 HIGH
8.3 Sep 17

MidnightBSD's mport package manager prior to 2.7.8 can accept a tampered bootstrap package index as verified, because th

CVE-2026-54586 MEDIUM
6.0 Sep 17

On-path tampering with package-fetch traffic in MidnightBSD's mport package manager lets a network-positioned attacker s

CVE-2026-54585 MEDIUM
6.0 Sep 17

Path traversal in MidnightBSD mport before 2.7.8 allows a crafted package manifest to make the privileged sample-file ha

CVE-2026-54582 MEDIUM
6.0 Sep 17

Package file overwrite in MidnightBSD mport prior to 2.7.8 allows a crafted package installed with privileges to replace

CVE-2026-54576 MEDIUM
5.8 Sep 17

Filesystem integrity compromise in MidnightBSD's mport package manager (versions prior to 2.7.8): a local user who alrea

CVE-2026-54575 MEDIUM
5.8 Sep 17

Path-racing and shell-invocation weaknesses in the MidnightBSD mport package manager (all versions prior to 2.7.8) let a

CVE-2020-24385 MEDIUM
5.5 Sep 03

In MidnightBSD before 1.2.6 and 1.3 before August 2020, and FreeBSD before 7, a NULL pointer dereference was found in th

CVE-2026-54579 LOW
2.3 Sep 17

Spoofed or injected ICMP echo replies can steer mport's mirror-latency selection toward an attacker-chosen mirror and, i

CVE-2026-54578 LOW
2.0 Sep 17

Checksum verification in MidnightBSD's mport package manager before 2.7.8 can silently continue after a hashing failure,

Share

CVE-2026-54587 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy