Back

MEDIUM

mport sample file handling can write outside the configured root

Published Sep 17, 2026

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.

Affected products

Remediation

No remediation recorded yet.

Weaknesses (1)

References (5)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner GitHub_M
Published Sep 17, 2026
Updated Sep 17, 2026
Reserved Jun 15, 2026
CISA Vulnrichment
Updated Sep 17, 2026
NVD
Status Deferred
Modified Sep 17, 2026
Red Hat
Severity n/a
Public date n/a
ENISA EUVD
Assigner GitHub_M
Published Sep 17, 2026
Updated Sep 17, 2026
Exploited since n/a
EUVD-2026-82323