CVE-2026-54582CWE-668CWE-73

CVE-2026-54582

published September 17, 2026

CVSS
6.0
EPSS
1%
Percentile
45.5
In the wild
Unconfirmed
What it is

mport is the MidnightBSD Package Manager. Prior to 2.7.8, package installation lacked a preflight check for incoming non-directory assets that already existed on disk. The affected logic across libmport/check_preconditions.c, libmport/install_primative.c, and libmport/mport_private.h did not apply MPORT_PRECHECK_FILE_CONFLICTS, so a crafted or conflicting package could overwrite a file owned by another package or unmanaged by mport. The check is bypassed only when the operator explicitly enables mport->force. Privileged installation without that override could compromise local filesystem integrity and package database consistency. This issue is fixed in version 2.7.8.

The record
Technical detail
CVSS
6.0 · NONE
CVSS v4.0
6.0 · CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
EPSS
0.00554 · 45.5th percentile
Weaknesses
CWE-668 · Exposure of Resource to Wrong Sphere; CWE-73 · External Control of File Name or Path
Published
2026-09-17T21:16Z
References (4)
EPSS history
Timeline
  • 19 SEP 03:53Z
    EPSS moved — → 1%
    epss
  • 17 SEP 16:50Z
    mport package installation can overwrite existing unmanaged or differently owned files
    cvelistv5