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.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Mon, 21 Sep 2026 16:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Midnightbsd
Midnightbsd mport |
|
| Vendors & Products |
Midnightbsd
Midnightbsd mport |
Mon, 21 Sep 2026 14:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | mport trusts environment-controlled temporary directories in privileged metadata extraction | |
| Weaknesses | CWE-377 CWE-73 |
|
| References |
| |
| Metrics |
cvssV4_0
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-09-21T14:05:48.447Z
Reserved: 2026-06-15T19:15:27.344Z
Link: CVE-2026-54584
No data.
Status : Received
Published: 2026-09-21T15:17:29.107
Modified: 2026-09-21T15:17:29.107
Link: CVE-2026-54584
No data.
OpenCVE Enrichment
Updated: 2026-09-21T16:15:03Z