5.3

CVE-2026-54584: midnightbsd mport External Control of File Name or Path

CVSS: 5.3v4.0MediumDeferred
Published 21-09-2026Last modified 25-09-2026

Vulnerability summary

CVE-2026-54584 is a medium (CVSS 5.3) External Control of File Name or Path vulnerability in midnightbsd mport. EPSS estimates a 0.47% chance of exploitation in the next 30 days, higher than 38.9% of scored vulnerabilities.

Overall risk
21/100
0100
Low · default modelHow is this calculated?
CVSS score
5.3/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.47%
0%100%
Low · Change unavailable
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 21-09-2026
    PublishedVulnerability first disclosed.
  2. 25-09-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

0.47%

Chance of exploitation in the next 30 days

Percentile

39%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

22-09-202619-10-2026
EPSS score
0.47%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Midnightbsd1 product

1 vendor · 1 product

References

4 links