CVE-2026-54582

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.
CVSS

No CVSS.

Configurations

No configuration.

History

17 Sep 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-09-17 17:16

Updated : 2026-09-17 21:15


NVD link : CVE-2026-54582

Mitre link : CVE-2026-54582

CVE.ORG link : CVE-2026-54582


JSON object : View

Products Affected

No product.

CWE
CWE-73

External Control of File Name or Path

CWE-668

Exposure of Resource to Wrong Sphere