CVE Watchtower

← Back to CVE List

CVE-2026-54585NVD

Description

mport is the MidnightBSD Package Manager. Prior to 2.7.8, create_sample_file() in libmport/bundle_read_install_pkg.c did not constrain absolute source and destination paths from the sample-file manifest directive to mport->root. A malicious or malformed package manifest could therefore direct privileged sample-file handling to copy or write outside the configured installation root, compromising local filesystem integrity. This issue is fixed in version 2.7.8.
Severity Level
UNKNOWN
Published Date
17/09/2026
Last Modified
17/09/2026
Exploitation Status
????
EPSS Score
0.52% (percentile 43.2%)

CVSS Base Metrics

CVSS v4 (4.0)
MEDIUM 6
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

Weaknesses (CWE)

CWE-22 - CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected & Patched Versions

ProductAffected VersionsPatched Version
MidnightBSD mport< 2.7.8N/A
📧Email Delivery — Threat intel straight to your inbox.
♾️Unlimited Vendors — Track your entire stack.
🚨All New CVEs — Be the first to know.
⚙️Custom EPSS — Filter noise, focus on risk.
💬Webhooks — Slack & Teams integration.
🚫Ad-Free — Uninterrupted experience.
📧Email Delivery — Threat intel straight to your inbox.
♾️Unlimited Vendors — Track your entire stack.
🚨All New CVEs — Be the first to know.
⚙️Custom EPSS — Filter noise, focus on risk.
💬Webhooks — Slack & Teams integration.
🚫Ad-Free — Uninterrupted experience.