CVE-2026-54584

published 21 Sep 2026 · updated 25 Sep 2026

mport trusts environment-controlled temporary directories in privileged metadata extraction

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MidnightBSD<2.7.8

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-54584 severity on Zeptric[![CVE-2026-54584](https://zeptric.io/badge/cve/CVE-2026-54584.svg)](https://zeptric.io/cve/CVE-2026-54584)