CVE-2026-54584 mport trusts environment-controlled temporary directories in privileged metadata extraction
MediumCVSS 5.3
EPSS 0.47%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| MidnightBSD mport | = < 2.7.8 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MidnightBSD mport | = < 2.7.8 | No fix listed |
References
- https://github.com/MidnightBSD/mport/security/advisories/GHSA-4vv3-3h8r-q6mq
- https://github.com/MidnightBSD/mport/pull/123
- https://github.com/MidnightBSD/mport/commit/3790fa49a36cb085f48b204ef189fb82bbee621a
- https://github.com/MidnightBSD/mport/releases/tag/2.7.8
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2537941 issue-tracking
- www.cve.org
- nvd.nist.gov
- ENISA EUVD EUVD-2026-83920 third-party-advisory