CVE Catalog

CVE-2026-54587

MediumCVSS 5.8
Published: Translated: NVD NIST

Summary

mport, the MidnightBSD Package Manager, prior to 2.7.8 handled directory assets (ASSET_DIR or ASSET_DIR_OWNER_MODE) in libmport/bundle_read_install_pkg.c using path-based mport_mkdirp(), ownership, and permission operations. A local attacker able to modify part of the target installation tree could use dot-dot traversal or substitute symlinks during privileged package installation, causing directory creation or attribute changes to affect attacker-selected paths outside the intended package directories.

Risk Assessment

An attacker can affect paths outside the intended package directories, potentially leading to filesystem integrity compromise and unauthorized changes.

Recommendation

Update mport to version 2.7.8, which contains the fix. Restrict package installation access to trusted users only.

Other vulnerabilities in mport

See all
Original NVD description (English source)

mport is the MidnightBSD Package Manager. Prior to 2.7.8, directory assets handled as ASSET_DIR or ASSET_DIR_OWNER_MODE in libmport/bundle_read_install_pkg.c used path-based mport_mkdirp(), ownership, and permission operations. A local attacker able to modify part of the target installation tree could use dot-dot traversal or substitute symlinks during privileged package installation, causing directory creation or attribute changes to affect attacker-selected paths outside the intended package directories. This issue is fixed in version 2.7.8.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS