CVE-2026-54584
mport is the MidnightBSD Package Manager. mport before 2.7.8 used …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/MidnightBSD/mport/commit/3790fa49a36cb085f48b204ef189fb82bbee621a
- github.com/MidnightBSD/mport/pull/123
- github.com/MidnightBSD/mport/releases/tag/2.7.8
- github.com/MidnightBSD/mport/security/advisories/GHSA-4vv3-3h8r-q6mq
- nvd.nist.gov/vuln/detail/CVE-2026-54584
- cve.org/CVERecord?id=CVE-2026-54584
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.