mport package fetch and clean paths are vulnerable to TOCTOU filesystem races
Published Sep 17, 2026
5.8
MEDIUMCVSS 4.0
EPSS 0.12%
Description
mport is the MidnightBSD Package Manager. Prior to 2.7.8, privileged package fetch and cache-cleaning operations used race-prone path handling across libmport/fetch.c, libmport/clean.c, libmport/util.c, libmport/bundle_read_install_pkg.c, libmport/delete_primative.c, and libexec/mport.create/mport.create.c. A local attacker with write access to a participating package cache or staging path could race path checks and replacement operations to redirect package downloads, cleanup, or install-related side effects outside the intended cache. The affected lifecycle helper paths also used shell-form invocation, increasing command-line interpretation risk during privileged helper execution. This issue is fixed in version 2.7.8.
Affected products
-
- Version < 2.7.8StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| MidnightBSD | Mport | n/a |
|
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
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
1 other source (NVD) ▾
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
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Sep 21, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
Sep–Oct 2026- EPSS v5
Percentile over time
- EPSS v5
Table of values (2 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.12% (0.00122) | 1.72th | v5 (v2026.06.15) |
| Sep 18, 2026 | 0.12% (0.00117) | 1.87th | v5 (v2026.06.15) |
References (4)
- https://github.com/MidnightBSD/mport/commit/29154b0fdfb5806568ed1277e88d942bad6d1169 x_refsource_MISC
- https://github.com/MidnightBSD/mport/pull/118 x_refsource_MISC
- https://github.com/MidnightBSD/mport/releases/tag/2.7.8 x_refsource_MISC
- https://github.com/MidnightBSD/mport/security/advisories/GHSA-h387-g4pf-28cj x_refsource_CONFIRM
| Link | Providers | Tags |
|---|---|---|
| https://github.com/MidnightBSD/mport/commit/29154b0fdfb5806568ed1277e88d942bad6d1169 | x_refsource_MISC | |
| https://github.com/MidnightBSD/mport/pull/118 | x_refsource_MISC | |
| https://github.com/MidnightBSD/mport/releases/tag/2.7.8 | x_refsource_MISC | |
| https://github.com/MidnightBSD/mport/security/advisories/GHSA-h387-g4pf-28cj | x_refsource_CONFIRM |
Change history (0)
No recorded changes yet.