Vulnerability 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 Weaknesses (CWE)
References
- https://github.com/MidnightBSD/mport/commit/3790fa49a36cb085f48b204ef189fb82bbee
- https://github.com/MidnightBSD/mport/pull/123
- https://github.com/MidnightBSD/mport/releases/tag/2.7.8
- https://github.com/MidnightBSD/mport/security/advisories/GHSA-4vv3-3h8r-q6mq
FAQ
What is CVE-2026-54584?
CVE-2026-54584 is a documented vulnerability. 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 th...
How severe is CVE-2026-54584?
CVSS scoring is not yet available for CVE-2026-54584. Check NVD for updates.
Is there a patch for CVE-2026-54584?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.