CVE-2026-54584

MEDIUM CVSS 4.0: 5.3 EPSS 0.47%
Updated Sep 25, 2026
mport
Parameter Value
CVSS 5.3 (MEDIUM)
Affected Versions before 2.7.8
Fixed In 2.7.8
Type CWE-377, CWE-73 (External Control of File Name or Path)
Vendor mport
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0