CVE-2026-54587
published medium CVSS 4.0 · 5.8mport directory asset installation is vulnerable to symlink and path traversal races
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MidnightBSD | — | mport< 2.7.8 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MidnightBSD | mport | < 2.7.8 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-59 CWE-59: Improper Link Resolution Before File Access ('Link Following')
- CWE-367 CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
References
4Provider assertions
2GitHub_M · cna
mport directory asset installation is vulnerable to symlink and path traversal races
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 206ed187583dc4865270fdc0cb29961cee32b5b2c41d0b1e2c17aa408f320205
- Ingested
- 23 Sep 2026, 09:20:39 UTC
- Source record
- Official CVE record