CVEvulnerability
CVE-2026-54584
5.3 MEDIUM
Official page ↗
- Status
- Deferred
- Published
- 2026-09-21
- Last modified
- 2026-09-25
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 5.3 MEDIUM — CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/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
- Weaknesses
- CWE-377, CWE-73
Description
mport is the MidnightBSD Package Manager. mport before 2.7.8 used TMPDIR while extracting package metafiles, including when running as root or in setuid/setgid contexts. An attacker able to control the environment for a privileged mport invocation could redirect temporary metadata extraction to an attacker-controlled location. PR 123 ignores unsafe TMPDIR values in privileged contexts and rejects empty TMPDIR. This issue has been patched in version 2.7.8.
Related
Weakness · not in database (1)
Weakness · CWE (1)
- CWE-73 External Control of File Name or Path weakness
References
- https://github.com/MidnightBSD/mport/commit/3790fa49a36cb085f48b204ef189fb82bbee621a github.com
- https://github.com/MidnightBSD/mport/pull/123 github.com
- https://github.com/MidnightBSD/mport/releases/tag/2.7.8 github.com
- https://github.com/MidnightBSD/mport/security/advisories/GHSA-4vv3-3h8r-q6mq github.com